|
Answer» I have a quick question regarding the AUTOEXEC.bat file on my Windows XP COMPUTER. Currently on my computer there are 2 user profiles: USER1 and USER2. How would I set it up so that whenever USER2 logs on, a batch file: (say ... PROMPT.cmd) would automatically run. Does each user have its own AUTOEXEC or does one AUTOEXEC govern all users?
If there is only 1 I can write an if statementfor it:
if %username%==USER2 (...)
Please help Sigma
ps. both users have admin status.Actually there is none on a XP machine. XP uses the autoexec.nt file to initialize the MS-DOS ENVIRONMENT (16 bit subsystem). There is also a CMD environment (32 bit subsystem) which is initialized from the Windows settings.
Which one are you referring to? You can try using IF STATEMENTS in the autoexec.nt and see what happens. If it's only the prompt you're interested in, try right clicking the icon used to start the program and choose properties. For CMD change the Start in: entry; for MS-DOS change the Working: entry on the program tab.
Hope this helps.
PS. It may look like DOS, it may even quack like DOS, but it's not DOS. Just an emulated version thereof.Quote It may look like DOS, it may even quack like DOS, but it's not DOS. Just an emulated version thereof.
People just don't seem to grasp this concept do they?I VOTE we start a "COMMAND Prompt" sub-forum...
|