Change Command Prompt Default Directory

Page 2 of 2 FirstFirst 12

  1. Posts : 1
    Windows 7 Ultimate x64
       #11

    JFI: Using this method just to set the initial path when opening a command line window can lead to problems: a colleague of me had strange errors compiling a VisualStudio project which uses a PostBuild-step processing to copy some files using relative paths, and it was very hard to find out this Autorun entry changed the directory before the PostBuild commands were executed, so the relative paths pointed to wrong locations.
      My Computer


  2. Posts : 10,485
    W7 Pro SP1 64bit
       #12

    Welcome to the Seven Forums, rompl.

    Good info - nice first post!
      My Computer


  3. Posts : 1
    Windows 7 64 bit
       #13

    I also had problems with this. Due to the default folder being changed, a bat file from certain software I installed was not working anymore. After a long investigation of what went wrong, I found out that the problem was solved when deleting the registry entry again. If I understood it correctly, mostly %d commands will cause problems if you change the default folder.

    So be careful with implementing this!
      My Computer


 
Page 2 of 2 FirstFirst 12

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 16:50.
Find Us