Saved Bookmarks
| 1. |
Solve : a simple question? |
|
Answer» i think this is a silly question but still i need to know the answer.. hehe I added a new path using the "path" command.. but then, when i restarted cmd.exe, it was erased.. also in autoexec.bat, i added a few lines but then when i restarted windows, the lines i added disappeared.. kindly help me with this.. hope to hear from you GUYS soon and thanks Mixed signals. If you have CMD.EXE it's doubtful you have a AUTOEXEC.BAT FILE. Where did you add this new path? At the command line? In a batch file? In Windows? Today everyone seems to be taking the wrong path.LOL, for what it's worth I have a shortcut to cmd and in properties I changed the 'Start In' to c:\winnt\system32 (W2K) instead of the 'user' start in directory.I just have MINE at the root of C:. But I've written a few one-line batch files to quickly navigate to places like My Documents, the desktop, etc. In the command line.. I tried it both on the command prompt of dos and xp (command.com and cmd.exe) - if that's what you would like to know :-/Based on previous responses I'm not SURE what you want to do. CHANGING the path inside a command or cmd window is only in effect for the life of the window. To change the path permanently: Right click My Computer==>Properties==>Advanced==>Environment Variables Edit the PATH variable in the System Variables section and OK your way out. To change the directory where the CMD or COMMAND window starts, take Fed's advice and create a shortcut to command or cmd and in properties change the 'Start In' box to whatever directory you want. Hope this helps. 8-) |
|