PC Review


Reply
Thread Tools Rate Thread

Create a binary file using a Microsoft utility...

 
 
silly
Guest
Posts: n/a
 
      14th Dec 2004
Create a binary file using a Microsoft utility...

Hello,

Can someone please help, some time back, I came across a command which was
bundled with some
Microsoft SDK or resource kit or something and this command generated a file
of fixed length full of binary zeros.

I can't find it now which is bugging me, I thought it was genfch but I cant
find that anywhere.

Any ideas ?

Thanks in advance.

Hal


 
Reply With Quote
 
 
 
 
Dean Wells [MVP]
Guest
Posts: n/a
 
      14th Dec 2004
FSUTIL?

--
Dean Wells [MVP / Directory Services]
MSEtechnology
[[ Please respond to the Newsgroup only regarding posts ]]
R e m o v e t h e m a s k t o s e n d e m a i l

silly wrote:
> Create a binary file using a Microsoft utility...
>
> Hello,
>
> Can someone please help, some time back, I came across a command
> which was bundled with some
> Microsoft SDK or resource kit or something and this command generated
> a file of fixed length full of binary zeros.
>
> I can't find it now which is bugging me, I thought it was genfch but
> I cant find that anywhere.
>
> Any ideas ?
>
> Thanks in advance.
>
> Hal



 
Reply With Quote
 
Gill Bates
Guest
Posts: n/a
 
      15th Dec 2004
Try FSUTIL or MS Resource Kit createfil.exe


"silly" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Create a binary file using a Microsoft utility...
>
> Hello,
>
> Can someone please help, some time back, I came across a command which was
> bundled with some
> Microsoft SDK or resource kit or something and this command generated a

file
> of fixed length full of binary zeros.
>
> I can't find it now which is bugging me, I thought it was genfch but I

cant
> find that anywhere.
>
> Any ideas ?
>
> Thanks in advance.
>
> Hal
>
>



 
Reply With Quote
 
silly
Guest
Posts: n/a
 
      15th Dec 2004
Thanks Gill & Dean, it was fsutil which is not remotely similar in name to
genfch - says a lot about my memory!!!!

The syntax would be: fsutil file createnew C:\testfile.txt 1000

Just as an aside, I saw that you can do this:
fsutil file setzerodata offset=100 length=150 C:\Temp\sample.txt
which looks like it might be useful to me one day.... off topic but, I
wonder if there is a linux equivalent command line utility to zap a file
somewhere in the middle?

Thanks again
Hal.


 
Reply With Quote
 
Jim Davis
Guest
Posts: n/a
 
      16th Dec 2004
silly wrote:
> Just as an aside, I saw that you can do this:
> fsutil file setzerodata offset=100 length=150 C:\Temp\sample.txt
> which looks like it might be useful to me one day.... off topic but, I
> wonder if there is a linux equivalent command line utility to zap a file
> somewhere in the middle?


I think something like this:

dd bs=1 if=/dev/zero of=sample.txt seek=100 count=150 conv=notrunc

Is FSUTIL.EXE from XP safe to use on a 2k system?

--
Jim Davis
no-spam-for- isn't really part of my address.
 
Reply With Quote
 
Matthias Tacke
Guest
Posts: n/a
 
      16th Dec 2004
Jim Davis wrote:
>
> Is FSUTIL.EXE from XP safe to use on a 2k system?


Just ran it from an XP share without a problem, at least for createnew.

HTH

--
Gruesse Greetings Saludos Saluti Salutations
Matthias
---------+---------+---------+---------+---------+---------+---------+
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Binary Diff Utility R I G Consulting, Inc. Microsoft Dot NET Framework 7 12th Mar 2010 05:46 AM
Binary Diff Utility R I G Consulting, Inc. Microsoft VC .NET 7 12th Mar 2010 05:46 AM
FREE utility to create ISO file? Chaos Master Freeware 5 26th Jul 2004 11:28 PM
Microsoft File Migration Utility andespoint Microsoft Windows 2000 Netware 1 9th Jan 2004 08:17 PM
Looking for print utility to create .EPS file Jim Matthews Microsoft Windows 2000 0 13th Aug 2003 08:25 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:07 PM.