![]() |
|
|
#1 | ||
|
Pro Starter
Join Date: Jan 2004
|
computers command line ?
I have a simple question. How the hell do you dropa line in the command line of windows ? I want to add a multi line command but forgot what is the way to skip to the next line without entering the command?
|
||
|
|
|
|
|
#2 |
|
High School Varsity
Join Date: Sep 2006
|
I wasn't aware that you could do multiple lines at the command prompt without letting Windows break the command string itself into multiple lines so I would be interested in this as well.
You could try entering your commands in Notepad the way you want it, and save the file with the .bat extension (e.g. test.bat), and then just execute the batch file at the prompt. |
|
|
|
|
|
#3 |
|
College Benchwarmer
Join Date: Oct 2002
Location: Edmonton, AB
|
|
|
|
|
|
|
#4 | |
|
Pro Starter
Join Date: Jan 2004
|
Quote:
Thanks. |
|
|
|
|
|
|
#5 |
|
College Benchwarmer
Join Date: Oct 2000
Location: North Carolina
|
& will separate commands (e.g. "cd .. & dir") Separate two commands with && and the 2nd will run only if the first succeeds, separate with || and the second will run only if the first fails.
__________________
"I'm losing my edge--to better looking people... with better ideas... and more talent. And who are actually really, really nice." "Everyone's a voyeurist--they're watching me watch them watch me right now." Last edited by ThunderingHERD : 02-12-2008 at 11:55 AM. |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|