Re: What is the reason for this?
- Posted by "Elliott S. de Andrade" <quantum_analyst at hotmail.com> Aug 17, 2005
- 457 views
>From: DB James <guest at RapidEuphoria.com> >Reply-To: EUforum at topica.com >To: EUforum at topica.com >Subject: Re: What is the reason for this? >Date: Tue, 16 Aug 2005 21:15:45 -0700 > >posted by: DB James <larch at adelphia.net> > >Hi Elliott, > >Did you try that on your machine? You were right about skipping the cmd /q >/c part, this worked to create the file: > >system("fsutil file createnew "&dQ&fullPath&dQ&" 0 > nul",2) > >However, it still proudly announced to the screen that it had done what it >was asked to do. > Hmm, yes... It works on the command line, but not using system(). system() is supposed to allow command-line redirection but it doesn't seem to do it for >nul. Of course, you could use 0 instead of 2. Or, if you had to create two files, maybe you could redirect the output to a second file. >Thanks for the reply, it helped. > >--Quark > ~[ WingZone ]~ http://wingzone.tripod.com/