I'm trying to write a batch file that would kinda go like this:
if DiskSpace > 255MB for C:, goto 1
:1
copy "E:\file.txt" "C:\destination\"
It's for a program I assembled, and I needed to create an installer for my employees.
Is this possible? If my description is too vague, I'll explain a bit more:
I'm trying to get a batch file to do certain commands depending on how much free space is available on the C: drive.
Any help will be greatly appreciated.
P.S. The OS is XP.
P.S.S I would also like everything to be in one batch script file, preferably not multiple files.