Computing.Net > Forums > Web Development > file execution

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.

file execution

Reply to Message Icon

Name: snowspeeder101
Date: November 4, 2005 at 09:54:54 Pacific
OS: Windows xp SP2
CPU/Ram: 1ghz 256
Comment:

Does anyone know of a web script that can execute a file locally off a disk.

Heres that senerao.

Lets say I want a page that has the link
"Open Document"

When I click that link I would like "my computer" to automatically launch the file C:\1.txt in notepad "or whatever is the default application" without asking me if I wish to download it.

Im doing a experiment with an psp, and I cant execute the file locally, so I was hopeing for a web script that can launch a file witout asking to download.

Heres the problem, I have a file in the root partition called h.bin, when I tried a simple HTML file such as.

<HTML>


Sponsored Link
Ads by Google

Response Number 1
Name: Dr. Nick
Date: November 5, 2005 at 23:40:54 Pacific
Reply:

Nope. Allowing a script to run a program locally would be a major breach of security.

However for reference you can launch files using the START command from the command line. For example, "start c:\1.txt" would open 1.txt in Notepad.


0
Reply to Message Icon

Related Posts

See More


How can I submit # and ? ... Mozilla Firefox constant ...



Post Locked

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


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: file execution

about cgi-apache
    Summary: Hey, I'm running APACHE 1.3.31 on Slackware 10 (linux). In the httpd.conf. What can i put or edit in the ScriptALias so that i can execute or a .cgi/.pl file executes wherever it is found. I dont want...
www.computing.net/answers/webdevel/about-cgiapache/866.html

Help with opening kmz file
    Summary: Open Explorer | click Tools | Folder Options | click File Types | find the file extension your need to set | click Change | find the executable for Google Earth. UNIX is an operating system, OS/2 is h...
www.computing.net/answers/webdevel/help-with-opening-kmz-file/2804.html

Run file on server
    Summary: Hi, I'm designing a page that submits a PHP form which in turn executes a file on the server. So basically, when the form is submitted, it runs the file remotely. My question is if this is the most lo...
www.computing.net/answers/webdevel/run-file-on-server/747.html