•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the VB.NET section within the Software Development category of DaniWeb, a massive community of 397,851 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,325 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our VB.NET advertiser:
Views: 3129 | Replies: 1
![]() |
•
•
Join Date: Jul 2007
Posts: 19
Reputation:
Rep Power: 2
Solved Threads: 0
hi,
i want to integrate VB.NET with command window.
in fact, i want the interface(built on VB.NET) to open the command window and it should automatically change the path to C:\Perl\eg and then it has to execute automatically the file what i specified. for this i already used the code given below .
Shell("cmd.exe /k cd C:\Perl\eg", vbNormalFocus)
when i add this code, its opening the command window and the path is changed to C:\Perl\eg. but i need to type the below command on command prompt after changing the path to execute the perl code.
ex: perl filename.pl
i hope somebody helps with this as early as possible.
thank u.
chandrag
i want to integrate VB.NET with command window.
in fact, i want the interface(built on VB.NET) to open the command window and it should automatically change the path to C:\Perl\eg and then it has to execute automatically the file what i specified. for this i already used the code given below .
Shell("cmd.exe /k cd C:\Perl\eg", vbNormalFocus)
when i add this code, its opening the command window and the path is changed to C:\Perl\eg. but i need to type the below command on command prompt after changing the path to execute the perl code.
ex: perl filename.pl
i hope somebody helps with this as early as possible.
thank u.
chandrag
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb VB.NET Marketplace
- Is it possible to execute the ASP.NET code in command prompt..? (C#)
- getting around spaces in windows command prompt commands (Windows NT / 2000 / XP / 2003)
- I can't compile from command prompt (Java)
- Viewing An IP Address in Command Prompt (Windows NT / 2000 / XP / 2003)
- executing the windows command prompt (C++)
- Command Prompt Text Color Help (Windows NT / 2000 / XP / 2003)
- Command Prompt (Windows Software)
- Change background color of command prompt (Windows tips 'n' tweaks)
Other Threads in the VB.NET Forum
- Previous Thread: Shortcut keys
- Next Thread: how to explore the data to the user


Linear Mode