473,396 Members | 1,760 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

IIS, ASP, wshell.run, command prompt, console width, height


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

Oct 24 '06 #1
0 2229

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Bill | last post by:
I used to be able to run the following ASP code on our corp machine (W2K Server Edition and IIS-5) and successfully send a net-msg to anyone on our intranet. Last week it stopped working... and...
1
by: René | last post by:
Hello group, I have a question about a script i use. The function of the script is to dynamically write an ftp script and execute this with dos ftp.exe . This script always worked on a Windows...
7
by: Petesman | last post by:
I am trying to make a prompt that will ask the user for some input... If I just use var input = prompt("dafa") everything works fine but the box is put in the top left corner of the window. I need...
1
by: Kocica | last post by:
Trying to use gpg to encrypt text without creating an intermediate file. Tried using pipes two different ways (see code). Dim wshell, gnupg Dim PGPTextBodyNotify1 set wshell =...
4
by: Peter Nimmo | last post by:
Hi, I am writting a windows application that I want to be able to act as if it where a Console application in certain circumstances, such as error logging. Whilst I have nearly got it, it...
2
by: mohaakilla51 | last post by:
OK guys, so How do you set the width and the height of the Command Prompt from within C++? Is it possible? I thought that maybe system.width or something like that, but it didn't work. So then I...
10
by: vel | last post by:
Hi, My program is access the remote system's command prompt through C# program. I can do it. But problem is alignment of that output. can any one give idea to align that output ?. here is...
7
by: Jwe | last post by:
Hi, I've written a program which has both a command line interface and Windows form interface, however it isn't quite working correctly. When run from command line with no arguments it should...
4
by: bkamrani | last post by:
Hi, This is a basic problem, but I want to print help content in a Command Prompt in WinXP and scrolling back to see the first lines. If I start a command prompt and run python, and then for...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.