|
|
#1 |
|
Junior Member
Join Date: Jul 2006
Posts: 2
|
Hello All,
Is anybody have a script which creates virtual directory with selected 2.0 ASP.NET Version? |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Jul 2006
Posts: 2
|
seems to be found solution by myself:
nsExec::Exec /TIMEOUT=20000 '$WINDIR\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -s W3SVC/1/ROOT/$VDIRNAME' |
|
|
|
|
|
#3 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
I recommend using this code (with added quotes):
nsExec::Exec /TIMEOUT=20000 '"$WINDIR\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe" -s "W3SVC/1/ROOT/$VDIRNAME"' Otherwise, if any of the $vars contain spaces, the execution will probably fail. -Stu |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|