Hi,
Is there anyone knows which user profile is using by IIS while running
an DOS application within asp with wshell.run command.
To describe my problem clear;
I'm using a DOS command and within ASP. My code is something like
this;
set wshell = server.createobject("wscript.shell")
commandline = "tclsh84.exe test1.tcl"
intReturn=wshell.run(commandline,0,true)
Everything is OK.. Script is running and the rest of the code is
written output to the screen...
The problem is, script generates 200-300 characters width outputs..
But since IIS runs it in a 80X24 window the output is converted to 80
character width lines...
If I manually use tclsh84.exe test1.tcl command within a DOS prompt, I
can easily adjust the window properties to set window size something
like 300X100 so I can see the output is not modified.. And if i save
this properties, future using of this command is not modified too...
Windows write this properties into registry
HKEY_Current_User\Console\HKEY_CURRENT_USER\Consol e\C:_tcl_bin_tclsh84.exe
Since this has been written to HKEY_Current_User, this change isn't
available for other users and the user which IIS is using...
I've tried
- Copying my profile to Default User and All Users profile.
- Logging to IIS/Windows server with IUSR_server, IWAM_server users and
make this window size changing,
but it doesnt work..
I hope i can describe my problem...
Anyone can show me what I'm doing wrong or missing??
Thanks in advance...
Ajdar..
--
maykil ceksin
------------------------------------------------------------------------
Posted via
http://www.webservertalk.com
------------------------------------------------------------------------
View this thread:
http://www.webservertalk.com/message1707351.html