Click here to Skip to main content
15,920,111 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionCitrix and IE Pin
Jamie Nordmeyer8-Apr-09 9:44
Jamie Nordmeyer8-Apr-09 9:44 
AnswerRe: Citrix and IE Pin
Yusuf8-Apr-09 14:34
Yusuf8-Apr-09 14:34 
GeneralRe: Citrix and IE Pin
Jamie Nordmeyer8-Apr-09 15:44
Jamie Nordmeyer8-Apr-09 15:44 
QuestionButton Press Simulation... [modified] Pin
KEL38-Apr-09 9:36
KEL38-Apr-09 9:36 
GeneralRe: Button Press Simulation... Pin
KEL38-Apr-09 10:40
KEL38-Apr-09 10:40 
GeneralRe: Button Press Simulation... Pin
Yusuf8-Apr-09 14:37
Yusuf8-Apr-09 14:37 
GeneralRe: Button Press Simulation... Pin
KEL38-Apr-09 17:31
KEL38-Apr-09 17:31 
QuestionCalling a batch file from web application Pin
alchong8-Apr-09 9:20
alchong8-Apr-09 9:20 
Greetings...

I'm currently working with IIS 5.1, developing a web app using C#, and testing on win xp pro. One of the functions of the web app is to map a drive letter to a network resource. The way I'm going about this is calling a batch file from the application:

System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.EnableRaisingEvents = false;
proc.StartInfo.FileName = @"C:\tmp\testBat.bat";
proc.Start();

The batch file contains the following:

copy "C:\tmp\src\test.txt" "C:\tmp\dst\testcopy4.txt"
net use X: <some network="" resource="" path="">

I've setup impersonation in web.config, and am only using Integrated Windows Authentication in the web app. I also mapped the .bat extension to cmd.exe. When I click the button that's associated with calling the batch file, I can see that the file copy works, but nothing happens with the drive mapping command. (this is accomplished by checking whether the directory exists elsewhere in the code).

Any ideas? I hope I posted this to the right place. I'm wondering if it has something to do the particular executable...
AnswerRe: Calling a batch file from web application Pin
Yusuf8-Apr-09 14:45
Yusuf8-Apr-09 14:45 
GeneralRe: Calling a batch file from web application [modified] Pin
alchong9-Apr-09 5:35
alchong9-Apr-09 5:35 
GeneralRe: Calling a batch file from web application Pin
Yusuf9-Apr-09 6:00
Yusuf9-Apr-09 6:00 
GeneralRe: Calling a batch file from web application Pin
alchong9-Apr-09 6:06
alchong9-Apr-09 6:06 
GeneralRe: Calling a batch file from web application Pin
Yusuf9-Apr-09 6:16
Yusuf9-Apr-09 6:16 
GeneralRe: Calling a batch file from web application Pin
alchong9-Apr-09 6:50
alchong9-Apr-09 6:50 
GeneralRe: Calling a batch file from web application Pin
Yusuf9-Apr-09 6:54
Yusuf9-Apr-09 6:54 
QuestionPassowrd Lenght!! Pin
Sr...Frank8-Apr-09 5:38
Sr...Frank8-Apr-09 5:38 
AnswerRe: Passowrd Lenght!! Pin
Yusuf8-Apr-09 5:47
Yusuf8-Apr-09 5:47 
GeneralRe: Passowrd Lenght!! Pin
Sr...Frank8-Apr-09 5:55
Sr...Frank8-Apr-09 5:55 
GeneralRe: Passowrd Lenght!! Pin
Yusuf8-Apr-09 6:02
Yusuf8-Apr-09 6:02 
QuestionRuntime Gridview (provide Textbox for a cell and update the data to database) Pin
Pawan Kiran8-Apr-09 5:33
Pawan Kiran8-Apr-09 5:33 
AnswerRe: Runtime Gridview (provide Textbox for a cell and update the data to database) Pin
Abhijit Jana8-Apr-09 5:40
professionalAbhijit Jana8-Apr-09 5:40 
QuestionSession Object!! Pin
Sr...Frank8-Apr-09 4:59
Sr...Frank8-Apr-09 4:59 
AnswerRe: Session Object!! Pin
Yusuf8-Apr-09 5:30
Yusuf8-Apr-09 5:30 
GeneralRe: Session Object!! Pin
Sr...Frank8-Apr-09 5:40
Sr...Frank8-Apr-09 5:40 
GeneralRe: Session Object!! Pin
Yusuf8-Apr-09 5:45
Yusuf8-Apr-09 5:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.