Basic command-line question

  • Thread starter Thread starter Knack
  • Start date Start date
K

Knack

How does one describe that the command applies not only to the subdirectory,
but all of the files within that subdirectory too? What is the code that is
tacked onto the end of the path in order to to specify that?
 
That depends on the command. Some such as dir use /s to include
subdirectories. Some commands have no such option at all. In a command
prompt running thecommand /? shows a help screen.
 
I'm using the command ntbackup. The WinXP command-line reference doesn't
mention how to express that.
 
When you select to backup a directory in ntbackup it will always include all
files in all subdirectories.
This isn't explicitly explained in the command line reference (probably
because it's typical of most backup software) under parameters but is
covered under Using batch files to back up data- Using ntbackup backup
command, you can back up entire folders only.....
--
 
Back
Top