Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FIle path with spaces

Status
Not open for further replies.

RNF0528

MIS
Apr 4, 2006
115
US
Hello all,

I am attemping to copy a bunch of logs from one location to the other. My problem is the path has spaces in it. It is a simple batch file. Any help with this would be great. The line is below.

COPY D:\Program files\Pervasive software\PSQL\audit\comp\ X:\
 
Code:
COPY "D:\Program files\Pervasive software\PSQL\audit\comp\" X:\
 
Thanks It worked. So simple i should have known!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top