Command line scripting

This question is about normal ASP, not ASP.Net.

My question is can make ASP script to run it without any browser accessing the page (Command line scripting). I need this because I want to run ASP scripts regularly executed without any user requesting the page. Thanks for your time.
0
AMDasp
11/20/2003 6:36:32 PM
asp.net.free-for-all 9281 articles. 0 followers. Follow

2 Replies
699 Views

Similar Articles

[PageSpeed] 48
Get it on Google Play
Get it on Apple App Store

you don't want ASP. you want WSH

get the windows scripting docs : http://msdn.microsoft.com/scripting/
will append to this post when I get to work - got to rush now.

j
RTFM - straight talk for web developers. Unmoderated, uncensored, occasionally unreadable

Jason Brown - MVP, IIS
0
Atrax
11/24/2003 9:36:56 PM
OK, back at the screen. you might find these articles helpful :

http://rtfm.atrax.co.uk/infinitemonkeys/articles/wsh/
WSH can do just about anything ASP can do (client-server aside), and the syntax is strikingly similar. like ASP you can use VBScript, JScript, PerlScript, whatever, anything with an ActiveX script engine. you can schedule it to run at given times without user intervention (unlike ASP) and you can use COM objects very easily.
now, what's the exact requirement, apart from running some code without a user having to go fetch it?
RTFM - straight talk for web developers. Unmoderated, uncensored, occasionally unreadable

Jason Brown - MVP, IIS
0
Atrax
11/24/2003 10:03:30 PM
Reply:

Similar Artilces:

command line commands passed to perl script?
Hi all, Sorry, should have added this to my last email. Does anyone know how to pass values to a perl script through the command line? Do you use param as in CGI scripting/ I want a user to be able to specify certain parameters for the perl script (in case they want to run an overnight scheduler on it). Eg. testscript.pl /? gives you help or testscript /a gives you another capability... Ben __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ Nameofperlscript command1 command2 command3 Params s...

command-line commands within a Perl script
Hi, I have a directory with several subdirectories, each full of several dozen Word files. For each subdirectory, I need to run the checksum app against all of that directory's files and output a file into that directory with the checksum results. How can I do this? I'm very unfamilar with running command-line commands from within an Perl script. I know to change directories, you can do something like this: $changeDir = "cd ".$startingDir; system($changeDir); but what about retrieving the list of subdirectories from the starting directory? How can I do this? ...

command line scripts
Does anyone know how I can run command line scripts using asp.net and vb? I am mostly interested in using the iis command line script iisweb.vbs to create and delete websites. I would like to have a form that, when submited, runs the the command line script using the form values. Thanks Look at the Process class in the System.Diagnostics namespace. You can also use the class to redirect output into a stream for reading from your application. You might need to twiddle with security settings in order to have the permissions to do this from an ASP.NET app, impersonation is one option. Feel...

VS.NET and C# Compiler from command line "csc.exe" not fould when running from command prompt.
Hi All, I've been attempting to comlpile a custom control from the command line: I have VS.NET 2003 installed along with the .Net Framework 1.1 I've been working on a control project but cannot compile this into a .dll to register as a TagPrefix within an ASP.NET page. When going to the command prompt and typing csc /? it returns the ever popular error "csc" not recognized as an internal process or batch file. Is this a comman error? or a rogue install of VS.NET and/or the .NET Framework. Thanks In Advance, Tony If you open under Visual Studio .net Programs, the Vi...

Command line commands
Within a PowerBuilder application, how do I create an association so that all files with no extension are opened with notepad? I am using InsertFile command. I know we can use the command line 'assoc' command but I don't know how to include it in PowerBuilder code. I am using PowerBuilder 6.5 Thanks Mangala You could probably do that with the run function. However, you should be careful because most directories don't have extensions. I don't know what kind of behavior that will cause. Mike ...

Command Line commands
Is there a list of commands that can be used at the NetWare server and at the Windows workstation command line for ZFD 4.? I can't find them in the documentation or on the knowledgebase apart from ZENVER. Thanks in advance for any replies. Spamaddress@spam.com, > Is there a list of commands that can be used at the NetWare server and at > the Windows workstation command line for ZFD 4.? > To control what? NAL? - Anders Gustafsson, Engineer, CNE6, ASE NSC Volunteer Sysop Pedago, The Aaland Islands (N60 E20) Novell does not monitor these forums officiall...

AFPBIND script command line
Forgot to enable AFP when creating cluster enable volumes with Console 1 Adding the AFPBIND and AFPUNBIND commands in load and unload script will be enough ? (NFAP for Mac already installed). Thanks Mirliton I can't say definitively for NW6, but this worked for me with NW6.5. On Tue, 11 Nov 2003 14:46:22 GMT, mirliton@myrealbox.com wrote: >Forgot to enable AFP when creating cluster enable volumes with Console 1 >Adding the AFPBIND and AFPUNBIND commands in load and unload script will >be enough ? (NFAP for Mac already installed). >Thanks >Mirl...

Command Line in VB.NET
Hi all, i wanna run this line in command prompt .."C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -s  W3SVC/" & siteID & "/Root/" but i dunno how to call it using vb.net. i try to run it manually by click start>run>cmd.......and enter the line above.......it works...... but now i wanna call this line so that it run in command prompt..........how can i do that in vb.net ? pls reply me as soon as possible if anyone of you know the solutions......thanks hi all, i try to call the cmd.exe to run the specific action by using the code below... Dim objProc...

.Net command-line shell
I seeing somewhere a little while ago that there was a tool to give you access to the .Net Framework from the windows command prompt via an actual .NET shell.  That's so ludicrously useful I'm an idiot for not downloading it right then and there but now I can't find it.  Does anyone know what the project is called and/or has a link? Thanks a lot,Toga  If you installed the .NET framework all you have to do is go START -> RUN -> cmd should already be hooked in.   alternatively you can use this as a batch file : %comspec% /k ""C...

CPAN and command line scripts
Hello. http://search.cpan.org/~ruz/RT-Action-NotifyGroup/ has script 'sbin/rt-notify-group-admin.in' that has POD and this POD is what end-user wants more then other docs. What requirements should I satisfy if I want search.cpan.org to show link on script's POD in Documentation section of the dist page? I think that +x flag can help, but don't want to release new version just to check it. Best regards. Ruslan. --oXNgvKVxGWJ0RPMJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Rusla...

How to pass command line arguments to an extension using a command line on MacOS
I am developing an extension that processes some command line options. I want to invoke the Firefox from a command line like this: > ...../firefox -myarg1 -myarg2 I am running into a problem on Mac OS. When I run such command when there is no FireFox running it works fine. However if I run the command again I get an error saying that there is already an instance of Firefox running and only one instance can run at a time (paraphrasing here). I have tried to use the -remote option but no luck. Does anyone know how to solve this problem? Does anyone know if invoking of chatzill...

How to pass command line arguments to an extension using a command line on MacOS?
I am developing an extension that processes some command line options. I want to invoke the Firefox from a command line like this: > ...../firefox -myarg1 -myarg2 I am running into a problem on Mac OS. When I run such command when there is no FireFox running it works fine. However if I run the command again I get an error saying that there is already an instance of Firefox running and only one instance can run at a time (paraphrasing here). I have tried to use the -remote option but no luck. Does anyone know how to solve this problem? Does anyone know if invoking of chatzill...

Multiple SQL scripts from command line
Does anyone know of a way to execute a group of SQL scripts from a command line (dos) at one time using ISQL. We need to be able to resource our sql scripts from within powerbuilder 7 or outside the application. Our problem is that when we use a batch file or run using the run command from powerbuilder, The scripts try to all run at the same time and we get numerous errors. Please help Brett McKinney Logiciel Inc. btm3axe@hotmail.com Thanks a lot. I can't believe that we didn't figure this out. I guess it helps to read the books, huh Reg Domaratzki <nospam_rdoma...

command line script to run from web
Afternoon all, I have a script that runs from the command line but now I need it to from from the web, anyone know how to do this? All the script does is write files so output to the screen isn't important. It needs to run from the web because there will be a form on a web page and when it is clicked the script will run and then write whatever it needs to write to the file. Any ideas? Cheers, Graeme :) _________________________________________________________________ Tired of 56k? Get a FREE BT Broadband connection http://www.msn.co.uk/specials/btbroadband ...

Web resources about - Command line scripting - asp.net.free-for-all

Scripting News: Home Page
Scripting News, the weblog started in 1997 that bootstrapped the blogging revolution.

Talk:Cross-site scripting - Wikipedia, the free encyclopedia
This article is within the scope of WikiProject Computer Security , a collaborative effort to improve the coverage of computer security on Wikipedia. ...

Scripting language - Wikipedia, the free encyclopedia
A scripting language or script language is a programming language that supports the writing of scripts , programs written for a software environment ...

Scripting News
Scripting News: Roy Wildstein . # Scripting News: Title-less items in my feed . # Scripting News: A celebratory podcast! # Today's background ...

Scripting News: A reprieve for Google Reader readers.
I hate to hear the stories of readers who will muddle along and keep reading even though they wish there was a way to get the full text of the ...

Scripting News: He called the President 'boy'.
Just tuned into a little of the Sunday morning news discussion on various networks. The big issue seems to be whether or not VP Biden was disrespectful ...

Thread: The new River tab on Scripting.
Today there is a new tab on the Scripting News home page. Screen shot . I've felt for a long time that every serious news organization and blog ...

Scripting News: It's a good day.
Lots of good stuff today. 1. Obama won re-election. 2. He gave a great speech. 3. Romney gave a great concession speech. 4. As of today, ...

Scripting News: Election almanac e-book?
It would be useful to have an e-book you could buy for say $10 put out by a reputable news organization, that gathers, in book form, all the ...

Scripting News: The world is socialist, part II.
I try to save big ideas for January 1, every year. Hard things to write, things that take a while to think about, both as ideas, and how I want ...

Resources last updated: 1/22/2016 4:16:45 PM