We used creatfil.exe S:\>creatfil /? Usage: creatfil FileName [FileSize] -? : This message -FileName -- name of the new file -FileSize -- size of file in KBytes, default is 1024 Kbytes
So something like this S:\>d:scripts\create1gbfile.bat S:\>creatfil.exe S:\Dont_Delete_Unless_disk_is_full.txt 1000000 It is slow but does work. Gregg Overly Technology Resources 1-512-245-6861 Texas State University - San Marcos From: KevinM [mailto:kev...@wlkmmas.org] Sent: Tuesday, February 08, 2011 1:22 PM To: MS-Exchange Admin Issues Subject: RE: Manually modify File Size Brilliant!!! Thanks guys... And Candee - mutter... From: Michael B. Smith [mailto:mich...@smithcons.com] Sent: Tuesday, February 08, 2011 11:13 AM To: MS-Exchange Admin Issues Subject: RE: Manually modify File Size Fsutil.exe E.g. fsutil.exe file createnew c:\sparse-file.txt 5368709120 Regards, Michael B. Smith Consultant and Exchange MVP http://TheEssentialExchange.com From: KevinM [mailto:kev...@wlkmmas.org] Sent: Tuesday, February 08, 2011 2:06 PM To: MS-Exchange Admin Issues Subject: Manually modify File Size I want to create a 5GB file by manipulating the file size attribute. Anyone know how I can modify the file size? The reason I want to do this -I want to stick a 5GB file on all of my exchange DB volumes so I have a 5GB quick buffer incase my database grows to quick and dismounts due to no more space on the volume -When the database dismounts I can delete the file and have space to keep running without going to the SAN peeps and begging for more storage -Doing anything with a 5GB file takes a while - if I can artificially manipulate the file size I can avoid the time it would take to create the file, copy the file and to delete the file. - I could script the deletion with commands to shrink the file from 5GB to 5KB then delete the file --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com> with the body: unsubscribe exchangelist --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com> with the body: unsubscribe exchangelist --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com> with the body: unsubscribe exchangelist --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.com with the body: unsubscribe exchangelist