OFF-TOPIC

We had a server open for testing that had read and write access open for
the anonymous user.  It got left open to long and our server was pounded
with the latest warez and movies.  

I have one stubborn folder that will not delete and I have tried
everything.  

I have tried things like del \\.\d:\ftproot\folder\*.* /s or rd
\\.\d:\ftproot\folder /s

I get a message that  "the path has exceeded the maximum 
length."

Does anyone know a trick, short of reformatting to remove these stubborn
folders?


Pete Lundrigan 
Media Resources Center 
Academic Web Support 
316.978.7759
http://www.mrc.twsu.edu/
[EMAIL PROTECTED] 


-----Original Message-----
From: Chris Tifer [mailto:[EMAIL PROTECTED]] 
Sent: Monday, October 14, 2002 3:04 PM
To: ActiveServerPages
Subject: Re: vbscript run commandline problem

.vbs files are run in a different context when run through
the browser, right?  Are you assuming the same action
would be taken as if you were using the Windows Scripting Host?

Chris Tifer

----- Original Message -----
From: "nabil" <[EMAIL PROTECTED]>
To: "ActiveServerPages" <[EMAIL PROTECTED]>
Sent: Monday, October 14, 2002 9:48 AM
Subject: vbscript run commandline problem


> Hi,
>
> I was trying to run a vbscript from ASP page. Knowing that the ASP
page
> have administrative permissions.
>
> .bat  files are running correctly, but the .vbs fails to show the
result
>
> no error messages are returned to screen!!!
>
> Code used:
>
> Dim shell
> Set shell=Server.CreateObject("WScript.Shell")
>
> 'the following does not fail but does not perform the task
> call shell.run("c:\directory1\myscript.vbs",1,true)
>
> 'the following command works perfect
> call shell.run("c:\directory1\myscript2.bat,1,true)
>
>
>
> set shell=nothing
>
> any suggestions
>
>
> ---
> You are currently subscribed to activeserverpages as:
[EMAIL PROTECTED]
> To unsubscribe send a blank email to
%%email.unsub%%


---
You are currently subscribed to activeserverpages as:
[EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%

---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to