Results 1 to 4 of 4
  1. #1
    Lounger
    Join Date
    Oct 2003
    Location
    Charlottesville, Virginia, USA
    Posts
    43
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Batch File for Long Names Wanted

    I need an icon on my desktop to copy a file from My Documents to another folder through a network. A batch file would be great, except it doesn't handle the long file or folder names. How can this be done? Is this something that DOS does better than Windows98 (except for the 8-character limitation)?
    --- Thanks, Bruce

  2. #2
    2 Star Lounger
    Join Date
    Jan 2001
    Location
    St. George, Maine, USA
    Posts
    158
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Batch File for Long Names Wanted

    Why not simply augment the 'sent to' to include your destination folder.
    The Windows Explorer help has info on how to accomplish this. Key word: 'send to'

    Good luck,
    Bob_D

  3. #3
    Star Lounger
    Join Date
    Jan 2001
    Posts
    68
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Batch File for Long Names Wanted

    DOS should work fine. If the long file name contains blanks, the name must be enclosed in quotes. For example,

    xcopy "C:Program FilesMicrosoft OfficeOfficeXLStart*.xlt" "c:My DocumentsTemplate Backup"

  4. #4
    Lounger
    Join Date
    Oct 2003
    Location
    Charlottesville, Virginia, USA
    Posts
    43
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Batch File for Long Names Wanted

    Cbarber: Wow! <img src=/S/bingo.gif border=0 alt=bingo width=15 height=22> That's so simple -- when you know the trick.

    --- Thanks, Bruce

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •