1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Batch file help

Discussion in 'Windows Vista' started by jw232, Oct 28, 2007.

Thread Status:
Not open for further replies.
  1. jw232

    jw232 Thread Starter

    Joined:
    Oct 19, 2007
    Messages:
    18
    Hi, how can I make a batch file that will open command prompt, change the directory to c:\stuff and set path to c:\stuff? I tried making a .bat file through notepad with the following lines:
    cd C:\stuff
    set path=C:\stuff
    but the command prompt instantly opens and closes. How do I stop it from closing?
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/644588

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice