Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.pascal.borland    |    Borland Pascal was actually pretty neat    |    2,978 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 2,484 of 2,978    |
|    Rick Davey to Rick Davey    |
|    Re: Moving/relocating a file    |
|    06 Jul 07 12:41:32    |
   
   From: rdavey@bluemountain.ca   
      
   OK Got it.   
      
    ExecString := '/c copy C:\Path\Filename.txt   
   \\Server\Path\NewFilename.txt';   
    SwapVectors;   
    Exec(GetEnv('COMSPEC'),ExecString);   
    SwapVectors;   
      
   I am using variables in place of the paths and filenames in the ExecString,   
   and find that if either includes spaces, you must enclose in a double quote.   
      
   Thanks all.   
      
   "Rick Davey"
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca