Windows Thread, Robocopy & long file names in Technical; We're trying to use Robocopy to copy some SQL files. The path is :
f:\microsoft sql server\mssql$sims\mssql.1
I cannot get ...
-
18th January 2008, 12:52 PM #1
- Rep Power
- 0
Robocopy & long file names
We're trying to use Robocopy to copy some SQL files. The path is :
f:\microsoft sql server\mssql$sims\mssql.1
I cannot get robocopy to recognise 'microsoft sql server' . I've tried making it the short version micros~1 , also put quotes round it and also round the whole path, but it still won't recognise it.
The data is in F:\mssql$sims\mssql.1 on some servers and they copy fine, so it's definitely the bit with spaces in that's causing the problem.
-
-
IDG Tech News
-
18th January 2008, 12:58 PM #2 This is what we do with speech marks and robocopy and it works fine:
"C:\Program Files\Microsoft SQL Server\Backup \\fs2\c$\temp" * /S /E
Last edited by tech_guy; 18th January 2008 at 01:00 PM.
-
-
18th January 2008, 11:27 PM #3 I think that tech_guy meant to say
"C:\Program Files\Microsoft SQL Server\Backup" \\fs2\c$\temp * /S /E
When you need to specify a file path that includes a space on a command line, the individual parameter should be enclosed in double quotes.
-
SHARE:
Similar Threads
-
By acrobson in forum How do you do....it?
Replies: 16
Last Post: 22nd December 2007, 02:41 PM
-
By switchflare in forum How do you do....it?
Replies: 3
Last Post: 18th October 2007, 07:25 PM
-
By fawkers in forum Windows
Replies: 2
Last Post: 17th September 2007, 06:50 AM
-
By Samson in forum Scripts
Replies: 3
Last Post: 4th September 2007, 07:40 AM
-
Replies: 3
Last Post: 28th January 2006, 08:20 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules