I would like to link a DOS application in my Intranet but, how to specifie a directory for the process to start in... the application is a (.exe file) that needs this path to load seconday files.
Ideas??
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
- nestormateo responded to »Fillters in Clip« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Launching a DOS application from Dynamenu
-
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 11
well... I've created a .bat file on the server and the link works putting it direcly on the IE client
file:\\servername\share\PN\applications\xxx.bat
but adding this line on dynamenu doesn't work 'cus is being changed automatically to
file:\\\\servername\\share\\PN\\applications\\xxx.bat
Why "postnuke or dynamenu" is adding this slashes ???
-
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 11
I've managed to call a .bat file using dynamenu using instead file:\\
just put applications/XXX.bat at Dynamenu and the result was
http://servername/pn/applications/XXX.bat
but I got the message The page cannot be found on IE
the correct result should be a DOS window calling my application
How can I fix that? Any suggestions? -
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 223
This not the way to launch server files, you have to do from server side, (e.g. through a PHP script)
you can use some as this: exec("c:\utils\some.bat");
but as is running on server the output is on the server,... -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 11
the .bat file is on the server but, the application called is on the client
anyway the problem that is happening is: the application doesn't start
Do I need to change some settings on IIS?? -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 11
Yes, and that works but not thru the dynamenu, maybe it's a syntax problem there, check my previous notes about it.
Thanks for your help I hope we can find a solution...
-
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 11
I found a solution! Instead put the DOS batch file on the Server side keep it on a shared network drive.
Set the dynamenu link to: file:///P:/Public/XXX.bat
edited by: lzucco, Sep 12, 2006 - 09:27 AM
- Moderated by:
- Support
