Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

"ntbackup" of dir w/ space in name ("program files")

Posted on 1998-10-20
9
Medium Priority
?
186 Views
Last Modified: 2013-12-28
Tell me how I can use the commandline ntbackup to back up just the "program files" directory.  Figuratively, I want to:

ntbackup backup "d:\program files"          /v /d "janelle d:\program files"      /hc:on /t Normal      /l d:\user

Without the quotes around "d:\program files" it tells me I have an invalid parameter (no doubt "files").

With the quotes, it works but backs up "C:" instead of "d:\program files"!

I have tried d:\"program files", but that tells me I have a bad command line parameter too.
0
Comment
Question by:rclark022197
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 2

Expert Comment

by:gikam
ID: 1793899
check the order of parameters
0
 
LVL 1

Expert Comment

by:jminck
ID: 1793900
try c:\progra~1
0
 
LVL 5

Expert Comment

by:j_powers
ID: 1793901
According to the following keys:

ntbackup operation path [/a][/v][/r][/d "text"][/b
][/hc:{on | off}] [/t {option}][/l "filename"][/e][/tape
:{n}]

You should be able to type

ntbackup backup d:\program files /v /d "janelle d:\program files" /hc:on /t Normal /l "d:\user"

And it will back up the program files. The difference between the two is the quotes in the d:\program files on the path area. Just copy and paste this in your run line.

Good Luck and let me know how this goes.
0
The Ideal Solution for Multi-Display Applications

Check out ATEN’s VS1912 12-Port DP Video Wall Media Player at InfoComm 2017. Kerri describes how easy it is to design creative video walls in asymmetric layouts and schedule detailed playlists ahead of time with its advanced scheduling feature.

 

Author Comment

by:rclark022197
ID: 1793902
I had already tried that.  Per my original note,

    Without the quotes around "d:\program files" it tells me I have an invalid parameter (no doubt "files").
--------------------
0
 
LVL 2

Expert Comment

by:gikam
ID: 1793903
rclark,
most probably u are running the command from under a DOS program, such as Norton Commander !
0
 

Author Comment

by:rclark022197
ID: 1793904
To Gikam, I am running it under NT's "Command prompt", from which you can type
cd program files
and have it work!
0
 

Author Comment

by:rclark022197
ID: 1793905
I would prefer an 'answer' which allowed me to use the long name (program files), but in all fairness jminck solved the problem - his suggestion to use the short name worked.  I assume that the long name would be lost on restoration, but changing one path name is a very small price to pay to have it work!

jminck, if you would submit your suggestion as an 'answer', I will award you the 100 points.  Thanx!
0
 
LVL 7

Accepted Solution

by:
BlackMan earned 400 total points
ID: 1793906
Your problem is fixed is SP4. The problem is documented in Microsoft KB, http://support.microsoft.com/support/kb/articles/q187/5/19.asp?FR=0
0
 

Author Comment

by:rclark022197
ID: 1793907
Thanx!
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question