objWshell.Run "%COMSPEC% /C ren topoX.jpg topo_cliente.jpg", 0, TRUE ???
From: Vilmar Brazão de Oliveira (teste_at_teste.teste.teste)
Date: 03/04/04
- Next message: Tom Kaminski [MVP]: "Re: create the username/password authentication dialog problem"
- Previous message: Roland Hall: "Re: split adress and number?"
- Next in thread: Ray at <%=sLocation%> [MVP]: "Re: objWshell.Run "%COMSPEC% /C ren topoX.jpg topo_cliente.jpg", 0, TRUE ???"
- Reply: Ray at <%=sLocation%> [MVP]: "Re: objWshell.Run "%COMSPEC% /C ren topoX.jpg topo_cliente.jpg", 0, TRUE ???"
- Reply: Phill. W: "Re: objWshell.Run "%COMSPEC% /C ren topoX.jpg topo_cliente.jpg", 0, TRUE ???"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 4 Mar 2004 10:39:23 -0300
Hi all,
I was using:
<% Set objWshell = Server.CreateObject("WScript.Shell")
objWshell.Run "%COMSPEC% /C ren topoX.jpg topo_cliente.jpg", 0, TRUE %>
BUT the comand COMSPEC disapeared of all my machines which we have
ms-windows 2000 installed!
So now no-one machine can continue run my routines which accessed ms-dos by
ASP
COULD anybody send me the comspec command by e-mail whith the subject:
Comspec to WScript.Shell
???
obs.:I got these samples in aspfaq.com »»
http://www.aspfaq.com/show.asp?id=2059
thanks,
-- Sem mais, ««««««««»»»»»»»»»»»»»» Vlmar Brazão de Oliveira Desenvolvimento Web HI-TEC
- Next message: Tom Kaminski [MVP]: "Re: create the username/password authentication dialog problem"
- Previous message: Roland Hall: "Re: split adress and number?"
- Next in thread: Ray at <%=sLocation%> [MVP]: "Re: objWshell.Run "%COMSPEC% /C ren topoX.jpg topo_cliente.jpg", 0, TRUE ???"
- Reply: Ray at <%=sLocation%> [MVP]: "Re: objWshell.Run "%COMSPEC% /C ren topoX.jpg topo_cliente.jpg", 0, TRUE ???"
- Reply: Phill. W: "Re: objWshell.Run "%COMSPEC% /C ren topoX.jpg topo_cliente.jpg", 0, TRUE ???"
- Messages sorted by: [ date ] [ thread ]