Batch file: running notepad and exiting
Posted on 2005-04-29
Silly little thing I can't seem to get around. I want to run the following batch file:
ftp -i -n -s:c:\path\ftpscript.ftp
notepad.exe "c:\documents and settings\my name\my documents\file.txt"
Basically the ftp script gets a text file and puts it in the right place, and notepad opens it. Works great, except the batch window wont close until I've closed notepad. I've tried "call notepad etc etc" but the same thing happens.
Is there a way I can force control back to the batch file so that it exits?