Click here to Skip to main content
15,388,959 members
Home / Discussions / Windows Development
   

Windows Development

 
GeneralRe: GRRRR!! 32 bit / 64 bit file mappings... Pin
Member 798912230-May-17 22:50
MemberMember 798912230-May-17 22:50 
AnswerRe: GRRRR!! 32 bit / 64 bit file mappings... Pin
Richard MacCutchan30-May-17 4:37
mveRichard MacCutchan30-May-17 4:37 
GeneralRe: GRRRR!! 32 bit / 64 bit file mappings... Pin
Member 798912230-May-17 5:49
MemberMember 798912230-May-17 5:49 
GeneralRe: GRRRR!! 32 bit / 64 bit file mappings... Pin
Richard MacCutchan30-May-17 5:54
mveRichard MacCutchan30-May-17 5:54 
GeneralRe: GRRRR!! 32 bit / 64 bit file mappings... Pin
Member 798912230-May-17 7:26
MemberMember 798912230-May-17 7:26 
GeneralRe: GRRRR!! 32 bit / 64 bit file mappings... Pin
RedDk30-May-17 7:42
MemberRedDk30-May-17 7:42 
GeneralRe: GRRRR!! 32 bit / 64 bit file mappings... Pin
Richard MacCutchan30-May-17 8:44
mveRichard MacCutchan30-May-17 8:44 
GeneralRe: GRRRR!! 32 bit / 64 bit file mappings... Pin
Member 798912230-May-17 22:42
MemberMember 798912230-May-17 22:42 
Sounds simple and easy.

So what do you suggest that I do, when the user opens a command window and asks the utility to genereate the file setenv.bat? Should I say: "Sorry, I can't do what you ask of me - even though you have write permission to that directory?"

I am not making the choice where to store the data. The user is. The user is, inadvertently because that is where cmd.exe by default sends him, in System32. The user has write access. The file is deleted after a second in any case, after the script is run.

You shouldn't store .bat files, not even for a second, in C:\ either. If the user nevertheless asks for it, it works, without. Should the utilty say, when the user says "Use C:\", in a similar manner say "Sorry, I am not willing to do that for you; you shouln't be puttng files there"?

It is so simple to say "You shouldn't do that". When the user says "Do it!" you may blame the user, or you may blame the utility doing what it is being asked to. Or you may say: OK, if the user asks to use that directory, and permissions are OK, then the user asked for it, the user got it!

You may go out on a mission to explain (or maybe "excuse") to all users of the world the underlaying reasons for why their files disappear into that black SysWOW64 hole, so that every user understands that where cnd.exe by default sends them, is to a place where they shouldn't be, and shouldn't touch anything unless they are computer experts. Then you have cleansed your hands and can say: We have told you not to be in that place where we sent you! So get out of there! This is logical, da*mit! Get out of there, now!

Arguing like that to users make you sound like a Unix guru... Smile | :)
GeneralRe: GRRRR!! 32 bit / 64 bit file mappings... Pin
Richard MacCutchan30-May-17 22:52
mveRichard MacCutchan30-May-17 22:52 
AnswerRe: GRRRR!! 32 bit / 64 bit file mappings... Pin
Terry Perez8-Sep-17 4:00
MemberTerry Perez8-Sep-17 4:00 
GeneralRe: GRRRR!! 32 bit / 64 bit file mappings... Pin
OriginalGriff14-Sep-17 21:56
mveOriginalGriff14-Sep-17 21:56 
QuestionDisable UAC for standard accounts in Windows 10 (Please read full post before replying. Thanks.) Pin
djdynamix18-Apr-17 8:01
Memberdjdynamix18-Apr-17 8:01 
AnswerRe: Disable UAC for standard accounts in Windows 10 (Please read full post before replying. Thanks.) Pin
Richard Deeming24-Apr-17 9:08
mveRichard Deeming24-Apr-17 9:08 
GeneralRe: Disable UAC for standard accounts in Windows 10 (Please read full post before replying. Thanks.) Pin
djdynamix30-Apr-17 6:06
Memberdjdynamix30-Apr-17 6:06 
GeneralRe: Disable UAC for standard accounts in Windows 10 (Please read full post before replying. Thanks.) Pin
Richard Deeming3-May-17 9:40
mveRichard Deeming3-May-17 9:40 
GeneralRe: Disable UAC for standard accounts in Windows 10 (Please read full post before replying. Thanks.) Pin
djdynamix6-May-17 13:50
Memberdjdynamix6-May-17 13:50 
AnswerRe: Disable UAC for standard accounts in Windows 10 (Please read full post before replying. Thanks.) Pin
Gerry Schmitz3-May-17 11:56
mveGerry Schmitz3-May-17 11:56 
GeneralRe: Disable UAC for standard accounts in Windows 10 (Please read full post before replying. Thanks.) Pin
djdynamix6-May-17 13:45
Memberdjdynamix6-May-17 13:45 
QuestionWindows 10 network copies cull "system files"? Pin
charlieg16-Mar-17 16:43
Membercharlieg16-Mar-17 16:43 
AnswerRe: Windows 10 network copies cull "system files"? Pin
charlieg16-Mar-17 17:26
Membercharlieg16-Mar-17 17:26 
JokeRe: Windows 10 network copies cull "system files"? Pin
Randor 21-Apr-17 16:36
professional Randor 21-Apr-17 16:36 
NewsCode Signing Pin
Michael Haephrati4-Dec-16 2:35
mvaMichael Haephrati4-Dec-16 2:35 
GeneralRe: Code Signing Pin
Kornfeld Eliyahu Peter4-Dec-16 3:22
professionalKornfeld Eliyahu Peter4-Dec-16 3:22 
GeneralRe: Code Signing Pin
Michael Haephrati4-Dec-16 7:14
mvaMichael Haephrati4-Dec-16 7:14 
GeneralRe: Code Signing Pin
Kornfeld Eliyahu Peter4-Dec-16 19:47
professionalKornfeld Eliyahu Peter4-Dec-16 19:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.