PC Review


Reply
Thread Tools Rate Thread

deleting filenames with leading and/or trailing blanks

 
 
Brian V. Smith
Guest
Posts: n/a
 
      3rd Nov 2003
We backup a MacIntosh to our Win2k server and some of the directories
and filenames have leading and/or trailing blanks in the names.
The problem is that W2k says it can't find the file no matter the
operation, e.g. renaming or deleting via an explorer window.

I have even tried a cygwin bash shell with backslashes and quotes but the
system says it can't find the files.
I tried running a disk scan but it doesn't find anything wrong with the
files.

Any ideas on how to either rename them or delete them?
Thanks for any help.

--
---------------------------------------------------------------
Brian V. Smith ((E-Mail Removed)) (remove the Xs to send me email)
Lawrence Berkeley National Laboratory
I don't speak for LBNL - they don't pay me enough for that.
Check out the xfig site at http://epb.lbl.gov/xfig or http://www.xfig.org
 
Reply With Quote
 
 
 
 
Ndi
Guest
Posts: n/a
 
      4th Nov 2003
1) try to quote them: del " moo.txt " in cmd.
2) use dir /x to gre the short file names in the cmd. Then delete using
those names.

--
Andrei "Ndi" Dobrin
Brainbench MVP
www.Brainbench.com


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Delete Leading/Trailing Blanks =?Utf-8?B?UGxlb25hc20=?= Microsoft Word Document Management 3 29th Nov 2005 06:25 PM
Leading and Trailing blanks are lost on import Dominic Olivastro Microsoft Access 4 28th Apr 2005 05:50 PM
Trailing blanks =?Utf-8?B?U0FT?= Microsoft Excel Misc 2 7th Jan 2005 09:42 PM
deleting filenames with leading and/or trailing blanks Brian V. Smith Microsoft Windows 2000 4 5th Nov 2003 09:08 PM
Leading , trailing blanks on search Roger Microsoft Windows 2000 Applications 0 7th Oct 2003 11:11 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:16 PM.