WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
   
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
GdPUtil.exe and spaces in dirs (Read 3286 times)
jesper
YaBB Newbies
*
Offline


www.gdps.dk/pro ducts/watchDir/
GdPUtil.shtml

Posts: 17
Copenhagen
GdPUtil.exe and spaces in dirs
Nov 1st, 2004 at 9:18pm
 
Although i constantly try convince colleagues and friends to not use spaces in files or directories i bump into cases with spaces!

I am becoming increasingly happy with your util GdPUtil, but today i ran into a problem regarding spaces in a dirname:

C:\admin\GdPUtil.exe -deleteolderthan 1 N:\MYDOMAIN.DK\PUBLIC FOLDERS\FreeSpaceTEST\Jesper\  -subdirs -hours -test
Directory does not exist.

Adding " around does not solve it:
C:\admin\GdPUtil.exe -deleteolderthan 1 "N:\MYDOMAIN.DK\PUBLIC FOLDERS\FreeSpaceTEST\Jesper\"  -subdirs -hours -test
Directory does not exist.

Can you reproduce this behaviour or is it me doing it wrong?
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2239
The Netherlands
Re: GdPUtil.exe and spaces in dirs
Reply #1 - Nov 1st, 2004 at 9:46pm
 
Remove the last backslash from the directory name:
Code:
 C:\admin\GdPUtil.exe -deleteolderthan 1 "N:\MYDOMAIN.DK\PUBLIC FOLDERS\FreeSpaceTEST\Jesper"  -subdirs -hours -test  



Works fine here!

Gert
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
jesper
YaBB Newbies
*
Offline


www.gdps.dk/pro ducts/watchDir/
GdPUtil.shtml

Posts: 17
Copenhagen
Re: GdPUtil.exe and spaces in dirs
Reply #2 - Nov 1st, 2004 at 9:51pm
 
Doh..  I cant believe i did not try that..  :C

Gert, thank you!
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1