How to create a batch file  
Author Message
JSKCO





PostPosted: Tue Jul 26 23:42:16 CDT 2005 Top

Visual Basic >> How to create a batch file

Hi,

I wish to do following. delete a folder at a specific and fixed location on
drive c:

how do i create a batch file for above function. plz if its going to be done
by code then give me the script.

take care

NS

Visual Studio35  
 
 
Ken





PostPosted: Tue Jul 26 23:42:16 CDT 2005 Top

Visual Basic >> How to create a batch file

> Hi,
>
> I wish to do following. delete a folder at a specific and fixed location
> on
> drive c:
>
> how do i create a batch file for above function. plz if its going to be
> done
> by code then give me the script.
>
> take care
>
> NS

Fire up notepad and type:

RMDIR "C:\The Name\Of The Folder" /s

Save that as YourBatchFile.bat

Make sure you typed the folder name correctly. Open windows explorer, locate
that batch file, double-click it. Hold on tight.

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Please keep all discussions in the groups..


 
 
Michael





PostPosted: Tue Jul 26 23:48:37 CDT 2005 Top

Visual Basic >> How to create a batch file
> Hi,
>
> I wish to do following. delete a folder at a specific and fixed
> location on drive c:
>
> how do i create a batch file for above function. plz if its going to
> be done by code then give me the script.

Don't create a new thread when there is already an existing thread for the
question - it is considered rude, and it won't help you getting a response
any quicker.

Refer back to your existing thread for a response.



--
Regards,

Michael Cole


 
 
NS





PostPosted: Wed Jul 27 01:41:04 CDT 2005 Top

Visual Basic >> How to create a batch file plz except my sincere apology.

NS




> > Hi,
> >
> > I wish to do following. delete a folder at a specific and fixed
> > location on drive c:
> >
> > how do i create a batch file for above function. plz if its going to
> > be done by code then give me the script.
>
> Don't create a new thread when there is already an existing thread for the
> question - it is considered rude, and it won't help you getting a response
> any quicker.
>
> Refer back to your existing thread for a response.
>
>
>
> --
> Regards,
>
> Michael Cole
>
>
>
 
 
NS





PostPosted: Wed Jul 27 01:42:03 CDT 2005 Top

Visual Basic >> How to create a batch file Thanks. You saved my day. thanks again.





> > Hi,
> >
> > I wish to do following. delete a folder at a specific and fixed location
> > on
> > drive c:
> >
> > how do i create a batch file for above function. plz if its going to be
> > done
> > by code then give me the script.
> >
> > take care
> >
> > NS
>
> Fire up notepad and type:
>
> RMDIR "C:\The Name\Of The Folder" /s
>
> Save that as YourBatchFile.bat
>
> Make sure you typed the folder name correctly. Open windows explorer, locate
> that batch file, double-click it. Hold on tight.
>
> --
> Ken Halter - MS-MVP-VB - http://www.vbsight.com
> DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
> Please keep all discussions in the groups..
>
>
>