Search found 3 matches

by jbird123
03 Aug 2010 15:20
Forum: DOS Batch Forum
Topic: Output new batch with variable
Replies: 1
Views: 3246

Re: Output new batch with variable

I've just spent ages trying to sort this, finally decided to post then fpund out for myself lol. To output a percent (%) sign in a batch you have to type %% so my code becomes echo IF NOT (%%continue%%)==(y) GOTO END >> "%UserProfile%\Desktop\file.cmd" which outputs echo IF NOT (%continue%...
by jbird123
03 Aug 2010 15:09
Forum: DOS Batch Forum
Topic: Output new batch with variable
Replies: 1
Views: 3246

Output new batch with variable

Im writing a batch script that creats another batch file, and inside the new batch file I need to prompt user to enter y/n. But im having trouble.. echo 4. Creating new batch.. echo @echo off > "%UserProfile%\Desktop\file.cmd" echo echo Are you sure you wish to continue? [y/n] >> "%Us...
by jbird123
25 Mar 2009 05:23
Forum: DOS Batch Forum
Topic: Batch map FTP network drive
Replies: 0
Views: 7112

Batch map FTP network drive

Hi guys, nice site just looking for some help (pretty basic really) Im amking a batch file that maps a network drive basically. net use z: \\Server\Share ok, works fine but I need to add an FTP location. I know it will work because I can do it my doing it manually (My Computer > Map network drive). ...