
PLS Help, I don't know why to write
Hi Chris,
You can create a directory and create a text file in that directory from VB. Its very easy...Here is an example. For more information see VB help on Open, Close, Input, Output, Print # and Write.
MkDir ("d:\ng")
Open "d:\ng\Text.txt" For Output As #1
Print #1, "Hi Chris...wow...you created a text file..."
Close #1
Hope this helps,
Vyas
Aditi Corp.
http://www.aditi.com
Check out my home page at
http://members.tripod.com/~vyaskn/index.html
Quote:
>I want to write a vb program to execute a dos program with the
>following command :
> runit.exe -r user -d abc -c 3547
>What step I need to do to execute a dos command like above in a VB
>program.
>How a VB program create a directory or folder, and create a text file
>in the folder.
>I am a newbie, pls help me and send your sugguestion to my email
>Thanks
>Chris