Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Dos Commands For Creating A Text File


  • Please log in to reply
1 reply to this topic

#1 Deany

Deany

  • Members
  • 2 posts
  • OFFLINE
  •  
  • Local time:05:12 PM

Posted 25 May 2006 - 09:12 AM

Dear all

Im trying to insert some DOS code into a VB.net programme, the object of the code is to read a directory and then create a file listing the contents of that directory.

I can read the directory but I cant seem to create the file.

Any assistance really welcome.

Many thanks


Code if it helps: shell("cmd.exe /c dir c:\genieup\upload\deeper\*.s48 >c:\t.tmp")

BC AdBot (Login to Remove)

 


#2 jbravo

jbravo

  • Members
  • 81 posts
  • OFFLINE
  •  
  • Local time:11:12 AM

Posted 06 June 2006 - 05:55 AM

if i understood u correctly, "dir c:\urdir\*.s48 /b > t.tmp"

i hope it helps

jb.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users