| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
Implimenting the copy command for batch files in windows
|
Original Message
|
Name: max
Date: February 11, 2000 at 10:39:21 Pacific
Subject: Implimenting the copy command for batch files in windows |
Comment: say you want to copy certain (multiple) files from one location to another. One way to do that is to create a batch file and use the copy.exe commands to copy the files. However, the (dos) copy command is limited to the 8.3 file naming covention. The file name is only up to 8 characters plus the extension. Windows allows you to have longer file names. My question is: I want to be able to copy files by running a batch file, but I when I specify the names I dont' have to limit myself to the 8 characters as in dos, rather I want to be able to keep the file and directory names in the long format. Does any one know how can I do something like this. Your help is deeply appreciated in this matter. Thanks.
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: sk8brdr0013
Date: June 19, 2001 at 19:29:21 Pacific
|
Reply: (edit)hey u have to shorten the dir to 8 chars by taking the first 6 the placing a "~" and 1 afterwards WARNING if two folders are the same after being shorten place a 2 after the ~ e.g. microsoft works and microsoft money would be shortened to micros so micros~1 is works and micros~2 is monney (reverse alpahbetic order) i hope this helps if not email me
Report Offensive Follow Up For Removal
|

Post Locked
This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
Go to Windows 95/98 Forum Home