delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/23/23:28:55

From: "Francis Huang" <fhuang AT crosswinds DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: File Handling Question
Date: Thu, 23 Sep 1999 22:07:27 -0400
Lines: 13
Message-ID: <7seki4$fsq$1@winter.news.rcn.net>
X-Trace: ioTbY6XE/CF0F/Fk6MxsUU/rkKLida1xjfFl25XGs58=
X-Complaints-To: abuse AT rcn DOT com
NNTP-Posting-Date: 24 Sep 1999 01:36:04 GMT
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MSMail-Priority: Normal
X-Priority: 3
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I am using Windows 95.  If I put commonly accessed files in one place on the
hard disk, speed is increased.  Current solution: Move all files from C: to
D:, delete all files on C:, then move them back, in the order desired.  My
problem:  some files refuse to be deleted off the C drive because Windows
needs them.  If I go to DOS, the file attributes for the registry file and
other system files are set to Hidden+Read Only, so DOS refuses to delete
them.  Also, then some files will not copy back to C: drive because they are
also hidden.  How do I either set a file's attribute so DOS will copy the
files?  After setting the attributes, I simply run a batch file I made
consisting of many lines in the format: move <file> <destination> and
everything should go fine.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019