AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Drive Space, un-detect certain folder/file

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
AHKsimple



Joined: 27 Oct 2006
Posts: 14

PostPosted: Fri Oct 27, 2006 6:01 am    Post subject: Drive Space, un-detect certain folder/file Reply with quote

I want the drive space shown in a drive's "Properties" to ignore the space taken up of certain files/folders. Is it possible to do something with the certain folders/files with the script temporarily (when script is ON) so that it doesn't show or any other way? because I don't want to tamper with the system settings or do anything dangerous that would destroy my computer.
Back to top
View user's profile Send private message
BoBo
Guest





PostPosted: Fri Oct 27, 2006 7:15 am    Post subject: Reply with quote

Question
Back to top
PhiLho



Joined: 27 Dec 2005
Posts: 6721
Location: France (near Paris)

PostPosted: Fri Oct 27, 2006 8:05 am    Post subject: Reply with quote

Get the higher level space, and subtract the space taken by the folders you want to exclude...
_________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")
Back to top
View user's profile Send private message Visit poster's website
SKAN



Joined: 26 Dec 2005
Posts: 6223

PostPosted: Fri Oct 27, 2006 8:17 am    Post subject: Reply with quote

PhiLho wrote:
Get the higher level space, and subtract the space taken by the folders you want to exclude...


I do not think AHKSimple's requirement is as simple as that Rolling Eyes

For example if "My Documents" folder contains 10 hidden movies aggregating 7 GB and the rest of the files aggregate to 100 MB, the "Folder Properties" of "My Documents" should reveal only 100 MB.

AHKSimple wants a way/script to cheat the "File/Folder Properties" dialog without tampering the System Settings.

Just a wild guess!

Edit: Oh! Read "File/Folder Properties" as "Drive Properties"

Smile
_________________


Last edited by SKAN on Fri Oct 27, 2006 9:48 am; edited 1 time in total
Back to top
View user's profile Send private message
AHKsimple



Joined: 27 Oct 2006
Posts: 14

PostPosted: Fri Oct 27, 2006 9:46 am    Post subject: Reply with quote

Yes, that's it. I just want to cheat the drive space measure so it doesn't detect/count the selected folders. I don't mind changing settings, I just don't want to damage any system files.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group