473,405 Members | 2,294 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,405 software developers and data experts.

open (*****.bat) file by command

36
how are you .

please : i want to know how i can open file his path is .bat (batch file )

by command .

thank you
.
Jan 27 '07 #1
6 2388
willakawill
1,646 1GB
how are you .

please : i want to know how i can open file his path is .bat (batch file )

by command .

thank you
.
Take a look at the Shell() function
Jan 27 '07 #2
mse07
36
Take a look at the Shell() function
ok

the path of my file is : E:\\MF_FTP_new.bat

if any one can to help me to execute this patch file by using ( Sell function(); )
because i do not use this function before .

thank you .
Jan 27 '07 #3
willakawill
1,646 1GB
ok

the path of my file is : E:\\MF_FTP_new.bat

if any one can to help me to execute this patch file by using ( Sell function(); )
because i do not use this function before .

thank you .
Expand|Select|Wrap|Line Numbers
  1. Shell ("notepad.exe C:\bootlog.txt")
Jan 27 '07 #4
mse07
36
Expand|Select|Wrap|Line Numbers
  1. Shell ("notepad.exe C:\bootlog.txt")
but the path of file is : bootlog.bat
i can not use shell function to execute the batch file .

i do not know what the problem .

i need to help .

thank you
Jan 29 '07 #5
willakawill
1,646 1GB
Try this:

Expand|Select|Wrap|Line Numbers
  1. Shell "c:\bootlog.bat"
Jan 29 '07 #6
Bhoopa
1
Hi Try this.


Dim oOpen As String
oOpen = "E:\\MF_FTP_new.bat"
Shell "cmd /c" & oOpen, vbHide

Bhoopa
Mar 3 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Stuart McGraw | last post by:
I just spent a $*#@!*&^&% hour registering at ^$#@#%^ Sourceforce and trying to submit a Python bug report but it still won't let me. I give up. Maybe someone who cares will see this post, or...
0
by: Tom Dacon | last post by:
"Open .Net Command Window Here" context menu for Windows Explorer: The reg file described below adds a new menu item to Windows Explorer's context menu when you right-click over a folder (or the...
9
by: Matt Calhoon | last post by:
Hi there, I have specified a aspnet user account to run all .net sites. This account needs access to start a .BAT File (in my global.asax on session start the app needs to execute this bat...
2
by: Jim Heavey | last post by:
I am wanting to invoke a console application by double clicking on a ".Bat" file from a shared drive. The ".Bat" file will access another shared drive to actually invoke the application. The...
2
by: Peter Macej | last post by:
I need to run external BAT file and print it's output from my application. I use the following code: Dim prs As New System.Diagnostics.Process() prs.StartInfo.UseShellExecute = False...
9
by: Matt | last post by:
How would I do this ... I want to set the Windows Scheduler to run the ..bat file which will open an access database at like 2 in the AM. What code do I need in the .bat file.
0
by: =?Utf-8?B?VHlsZXI=?= | last post by:
We have a vb.net filesystemwatcher that monitors a FTP directory. When we receive a file in that directory we run a bat file that contains a gpg command that decrypts the file. This process has...
1
jkmyoung
by: jkmyoung | last post by:
I am attempting to automatically open .xml files with a .bat script when I open them. Microsoft XP 2002 SP 2 Ultimate goals: 1. Figure out how Open With list is stored. 2. Edit Open With...
1
by: SilverGS | last post by:
I want to automatically open a Command Window from the Startup folder in Windows XP. right now after XP starts, I click on Start run, cmd and then when the command window is open I type in a bunch...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.