Computing.Net > Forums > Programming > Web Site creating with batch

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Web Site creating with batch

Reply to Message Icon

Name: renis
Date: July 19, 2007 at 02:47:46 Pacific
OS: XP
CPU/Ram: 2G
Product: Pentium 4
Comment:

I have script which creates several Web Sites and vitual directories in these Web Sites. I run this script one time and everything is fine. When I run it next time it creates idle Web Sites with the same Name. Then I need to delete them once and again.
How can I do that this script do not creates Web Site if there already exist Web Site with the same Name?



Sponsored Link
Ads by Google

Response Number 1
Name: Razor2.3
Date: July 19, 2007 at 03:39:07 Pacific
Reply:

Play with this line:
IF EXIST someWebSite EXIT /B
It'll work if you have a physical file you can look for.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Web Site creating with batch

Web Site create with batch www.computing.net/answers/programming/web-site-create-with-batch/15552.html

Asp.net help! www.computing.net/answers/programming/aspnet-help/13485.html

Create a registry backup with batch www.computing.net/answers/programming/create-a-registry-backup-with-batch/8549.html