473,463 Members | 1,512 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Calling a batch file from IE using asp and vbscript

I'm trying to call a batch file that I've built using the FileSystemObject
and CreateObject("Wscript.Shell"), oShell.Run... in an asp script.
Naturally, I can get the script to work from a command line but not from a
browser. The page does not throw an error but the oShell.Run... portion of
the script doesn't run. Any help would be appreciated. Thanks.
Jul 22 '05 #1
14 3525
The problem is that IIS runs ASP pages by default in the context of
IUSR_machineName, a very low-level user with few privileges and virtually no
system access.

You need to either set the IIS application to run in the context of a
privileged user, change the application to run as windows authenticated and
not anonymous (and then authenticate as a privileged user), or add
IUSR_machineName to a group with enough privileges to execute the batch
file.

Of course, each of these options can potentially become a security hole
without proper precautions.

So, what I tend to recommend in cases like this is to add the requested task
to a queue (e.g. in a database), and have a scheduled task wake up and pick
up new tasks from the queue. Then you don't have to worry about the
privileges you're exposing directly to your web page, and you can easily set
the job to run in the context of any user you like and on any schedule you
like...

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Mark C." <Ma***@discussions.microsoft.com> wrote in message
news:73**********************************@microsof t.com...
I'm trying to call a batch file that I've built using the FileSystemObject
and CreateObject("Wscript.Shell"), oShell.Run... in an asp script.
Naturally, I can get the script to work from a command line but not from a
browser. The page does not throw an error but the oShell.Run... portion of the script doesn't run. Any help would be appreciated. Thanks.

Jul 22 '05 #2
Aaron,

Thanks very much for your response. Unfortunately, I had already tried
using Windows Integrated Authentication while using a privileged account and
I tried changing the account from IUSR_MachineName to a privileged network
account and neither option worked. The app seems to run, the batch file is
created, but it fails to run. As a workaround I have been using a scheduled
task to run the file at the top of every hour but now a different sort of
security concern having to do w/ our portal software renders my scheduled
task obsolete. Could you be kind enough to elaborate on your solution w/ the
database/queue and the scheduled task. I'm not quite sure that I understand
what you're getting at. Thanks again.

"Aaron [SQL Server MVP]" wrote:
The problem is that IIS runs ASP pages by default in the context of
IUSR_machineName, a very low-level user with few privileges and virtually no
system access.

You need to either set the IIS application to run in the context of a
privileged user, change the application to run as windows authenticated and
not anonymous (and then authenticate as a privileged user), or add
IUSR_machineName to a group with enough privileges to execute the batch
file.

Of course, each of these options can potentially become a security hole
without proper precautions.

So, what I tend to recommend in cases like this is to add the requested task
to a queue (e.g. in a database), and have a scheduled task wake up and pick
up new tasks from the queue. Then you don't have to worry about the
privileges you're exposing directly to your web page, and you can easily set
the job to run in the context of any user you like and on any schedule you
like...

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Mark C." <Ma***@discussions.microsoft.com> wrote in message
news:73**********************************@microsof t.com...
I'm trying to call a batch file that I've built using the FileSystemObject
and CreateObject("Wscript.Shell"), oShell.Run... in an asp script.
Naturally, I can get the script to work from a command line but not from a
browser. The page does not throw an error but the oShell.Run... portion

of
the script doesn't run. Any help would be appreciated. Thanks.


Jul 22 '05 #3
Does your batch file call any code that raises a prompt or other kind of
visible GUI? Have you looked at http://www.aspfaq.com/2059 ?

I don't know if I can explain the scheduled task process better without
actually building it. That's on my to do list...

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Mark C." <Ma***@discussions.microsoft.com> wrote in message
news:74**********************************@microsof t.com...
Aaron,

Thanks very much for your response. Unfortunately, I had already tried
using Windows Integrated Authentication while using a privileged account and I tried changing the account from IUSR_MachineName to a privileged network
account and neither option worked. The app seems to run, the batch file is created, but it fails to run. As a workaround I have been using a scheduled task to run the file at the top of every hour but now a different sort of
security concern having to do w/ our portal software renders my scheduled
task obsolete. Could you be kind enough to elaborate on your solution w/ the database/queue and the scheduled task. I'm not quite sure that I understand what you're getting at. Thanks again.

"Aaron [SQL Server MVP]" wrote:
The problem is that IIS runs ASP pages by default in the context of
IUSR_machineName, a very low-level user with few privileges and virtually no system access.

You need to either set the IIS application to run in the context of a
privileged user, change the application to run as windows authenticated and not anonymous (and then authenticate as a privileged user), or add
IUSR_machineName to a group with enough privileges to execute the batch
file.

Of course, each of these options can potentially become a security hole
without proper precautions.

So, what I tend to recommend in cases like this is to add the requested task to a queue (e.g. in a database), and have a scheduled task wake up and pick up new tasks from the queue. Then you don't have to worry about the
privileges you're exposing directly to your web page, and you can easily set the job to run in the context of any user you like and on any schedule you like...

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Mark C." <Ma***@discussions.microsoft.com> wrote in message
news:73**********************************@microsof t.com...
I'm trying to call a batch file that I've built using the FileSystemObject and CreateObject("Wscript.Shell"), oShell.Run... in an asp script.
Naturally, I can get the script to work from a command line but not from a browser. The page does not throw an error but the oShell.Run...
portion of
the script doesn't run. Any help would be appreciated. Thanks.


Jul 22 '05 #4
The batch file maps a drive and uses cacls to apply permissions to a folder.
It does not raise a prompt or any other GUI. And thanks for the reference to
www.aspfaq.com/2059, which I read. I've also tried simply maping a drive
w/out the attempt to apply permissions and the same thing happens, or, more
accurately, doesn't happen. Thanks again for your help.

"Aaron [SQL Server MVP]" wrote:
Does your batch file call any code that raises a prompt or other kind of
visible GUI? Have you looked at http://www.aspfaq.com/2059 ?

I don't know if I can explain the scheduled task process better without
actually building it. That's on my to do list...

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Mark C." <Ma***@discussions.microsoft.com> wrote in message
news:74**********************************@microsof t.com...
Aaron,

Thanks very much for your response. Unfortunately, I had already tried
using Windows Integrated Authentication while using a privileged account

and
I tried changing the account from IUSR_MachineName to a privileged network
account and neither option worked. The app seems to run, the batch file

is
created, but it fails to run. As a workaround I have been using a

scheduled
task to run the file at the top of every hour but now a different sort of
security concern having to do w/ our portal software renders my scheduled
task obsolete. Could you be kind enough to elaborate on your solution w/

the
database/queue and the scheduled task. I'm not quite sure that I

understand
what you're getting at. Thanks again.

"Aaron [SQL Server MVP]" wrote:
The problem is that IIS runs ASP pages by default in the context of
IUSR_machineName, a very low-level user with few privileges and virtually no system access.

You need to either set the IIS application to run in the context of a
privileged user, change the application to run as windows authenticated and not anonymous (and then authenticate as a privileged user), or add
IUSR_machineName to a group with enough privileges to execute the batch
file.

Of course, each of these options can potentially become a security hole
without proper precautions.

So, what I tend to recommend in cases like this is to add the requested task to a queue (e.g. in a database), and have a scheduled task wake up and pick up new tasks from the queue. Then you don't have to worry about the
privileges you're exposing directly to your web page, and you can easily set the job to run in the context of any user you like and on any schedule you like...

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Mark C." <Ma***@discussions.microsoft.com> wrote in message
news:73**********************************@microsof t.com...
> I'm trying to call a batch file that I've built using the FileSystemObject > and CreateObject("Wscript.Shell"), oShell.Run... in an asp script.
> Naturally, I can get the script to work from a command line but not from a > browser. The page does not throw an error but the oShell.Run... portion of
> the script doesn't run. Any help would be appreciated. Thanks.


Jul 22 '05 #5
Try using basic authentication for testing purposes. If that works, check
out:

http://support.microsoft.com/?kbid=287537
http://support.microsoft.com/?kbid=264921

With integrated authentication, you cannot "daisy-chain" that authentication
from the IIS server to another server, afaIk. So, if you're trying to run a
script on the server that's accessing another server, i.e. mapping a drive
(why?), I ~believe~ you cannot use integrated authentication then.

Ray at home
"Mark C." <Ma***@discussions.microsoft.com> wrote in message
news:EE**********************************@microsof t.com...
The batch file maps a drive and uses cacls to apply permissions to a
folder.
It does not raise a prompt or any other GUI. And thanks for the reference
to
www.aspfaq.com/2059, which I read. I've also tried simply maping a drive
w/out the attempt to apply permissions and the same thing happens, or,
more
accurately, doesn't happen. Thanks again for your help.


Jul 22 '05 #6
Thanks for your response. Unfortunately, I've tried Basic Authentication,
logging in w/ a privileged account, and the behavior is the same. That is,
nothing happens. Why I would want to map a drive is a good question. The
drive mapping is superfluous. I was just trying to get the script to do
something -- anything. The main purpose of the script is to apply
permissions through cacls, which won't work either, though the script works
fine from a command prompt. Thanks again.

"Ray Costanzo [MVP]" wrote:
Try using basic authentication for testing purposes. If that works, check
out:

http://support.microsoft.com/?kbid=287537
http://support.microsoft.com/?kbid=264921

With integrated authentication, you cannot "daisy-chain" that authentication
from the IIS server to another server, afaIk. So, if you're trying to run a
script on the server that's accessing another server, i.e. mapping a drive
(why?), I ~believe~ you cannot use integrated authentication then.

Ray at home
"Mark C." <Ma***@discussions.microsoft.com> wrote in message
news:EE**********************************@microsof t.com...
The batch file maps a drive and uses cacls to apply permissions to a
folder.
It does not raise a prompt or any other GUI. And thanks for the reference
to
www.aspfaq.com/2059, which I read. I've also tried simply maping a drive
w/out the attempt to apply permissions and the same thing happens, or,
more
accurately, doesn't happen. Thanks again for your help.


Jul 22 '05 #7
How do you know that it isn't mapping the drive? How about net
sending? Try a batch file like this:

net send theNameOfYourComputer "Hi, I'm your Web server."

I'm kinda jumping in after missing the beginning of this thread, so
I'm not sure what you've tried so far or what else is going on.
Sorry about that.

Ray at work

"Mark C." <Ma***@discussions.microsoft.com> wrote in message
news:D3**********************************@microsof t.com...
Thanks for your response. Unfortunately, I've tried Basic Authentication, logging in w/ a privileged account, and the behavior is the same. That is, nothing happens. Why I would want to map a drive is a good question. The drive mapping is superfluous. I was just trying to get the script to do something -- anything. The main purpose of the script is to apply
permissions through cacls, which won't work either, though the script works fine from a command prompt. Thanks again.

"Ray Costanzo [MVP]" wrote:
Try using basic authentication for testing purposes. If that works, check out:

http://support.microsoft.com/?kbid=287537
http://support.microsoft.com/?kbid=264921

With integrated authentication, you cannot "daisy-chain" that authentication from the IIS server to another server, afaIk. So, if you're trying to run a script on the server that's accessing another server, i.e. mapping a drive (why?), I ~believe~ you cannot use integrated authentication then.
Ray at home
"Mark C." <Ma***@discussions.microsoft.com> wrote in message
news:EE**********************************@microsof t.com...
The batch file maps a drive and uses cacls to apply permissions to a folder.
It does not raise a prompt or any other GUI. And thanks for the reference to
www.aspfaq.com/2059, which I read. I've also tried simply maping a drive w/out the attempt to apply permissions and the same thing happens, or, more
accurately, doesn't happen. Thanks again for your help.


Jul 22 '05 #8
I agree with Ray... start with calling a batch file that does something
incredibly simple and trivial, locally. THEN graduate to more complex
activities...

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Mark C." <Ma***@discussions.microsoft.com> wrote in message
news:D3**********************************@microsof t.com...
Thanks for your response. Unfortunately, I've tried Basic Authentication,
logging in w/ a privileged account, and the behavior is the same. That is, nothing happens. Why I would want to map a drive is a good question. The
drive mapping is superfluous. I was just trying to get the script to do
something -- anything. The main purpose of the script is to apply
permissions through cacls, which won't work either, though the script works fine from a command prompt. Thanks again.

"Ray Costanzo [MVP]" wrote:
Try using basic authentication for testing purposes. If that works, check out:

http://support.microsoft.com/?kbid=287537
http://support.microsoft.com/?kbid=264921

With integrated authentication, you cannot "daisy-chain" that authentication from the IIS server to another server, afaIk. So, if you're trying to run a script on the server that's accessing another server, i.e. mapping a drive (why?), I ~believe~ you cannot use integrated authentication then.

Ray at home
"Mark C." <Ma***@discussions.microsoft.com> wrote in message
news:EE**********************************@microsof t.com...
The batch file maps a drive and uses cacls to apply permissions to a
folder.
It does not raise a prompt or any other GUI. And thanks for the reference to
www.aspfaq.com/2059, which I read. I've also tried simply maping a drive w/out the attempt to apply permissions and the same thing happens, or,
more
accurately, doesn't happen. Thanks again for your help.


Jul 22 '05 #9
After I run the script, which includes "net use T: \\<server name>\<share
name>" and go to a DOS prompt and try to access the T: drive, there is no T:
drive. If I manually run the script from a DOS prompt, no problem -- the
drive is mapped and the permissions are applied. If I alter the script and
omit the drive mapping and apply the permissions (w/ cacls) to a local folder
(that is, the web server) the thing works like a charm. It's only when I try
to do anything on another server that it refuses to work. Seems like it has
to be a permissions issue, but I've tried various authentication methods,
including running the app in IIS under a domain admin account, but nothing
works. Thanks for your help

"Ray Costanzo [MVP]" wrote:
How do you know that it isn't mapping the drive? How about net
sending? Try a batch file like this:

net send theNameOfYourComputer "Hi, I'm your Web server."

I'm kinda jumping in after missing the beginning of this thread, so
I'm not sure what you've tried so far or what else is going on.
Sorry about that.

Ray at work

"Mark C." <Ma***@discussions.microsoft.com> wrote in message
news:D3**********************************@microsof t.com...
Thanks for your response. Unfortunately, I've tried Basic

Authentication,
logging in w/ a privileged account, and the behavior is the same.

That is,
nothing happens. Why I would want to map a drive is a good

question. The
drive mapping is superfluous. I was just trying to get the script

to do
something -- anything. The main purpose of the script is to apply
permissions through cacls, which won't work either, though the

script works
fine from a command prompt. Thanks again.

"Ray Costanzo [MVP]" wrote:
Try using basic authentication for testing purposes. If that works, check out:

http://support.microsoft.com/?kbid=287537
http://support.microsoft.com/?kbid=264921

With integrated authentication, you cannot "daisy-chain" that authentication from the IIS server to another server, afaIk. So, if you're trying to run a script on the server that's accessing another server, i.e. mapping a drive (why?), I ~believe~ you cannot use integrated authentication then.
Ray at home
"Mark C." <Ma***@discussions.microsoft.com> wrote in message
news:EE**********************************@microsof t.com...
> The batch file maps a drive and uses cacls to apply permissions to a > folder.
> It does not raise a prompt or any other GUI. And thanks for the reference > to
> www.aspfaq.com/2059, which I read. I've also tried simply maping a drive > w/out the attempt to apply permissions and the same thing happens, or, > more
> accurately, doesn't happen. Thanks again for your help.
>


Jul 22 '05 #10
How are you trying to access the T drive? Are you sitting at the
server? Have you tried taking things back a few steps as suggested?
When you get to the step of modifying ACLs, I suggest using UNC
paths. But for now, can you verify that your batch is running?

net send yourcomputer I ran
echo I
ran>C:\Path\Which\Has\FullControl\For\Everyone\Per missions\test.txt

Ray at work
"Mark C." <Ma***@discussions.microsoft.com> wrote in message
news:1C**********************************@microsof t.com...
After I run the script, which includes "net use T: \\<server name>\<share name>" and go to a DOS prompt and try to access the T: drive, there is no T: drive. If I manually run the script from a DOS prompt, no problem -- the drive is mapped and the permissions are applied. If I alter the script and omit the drive mapping and apply the permissions (w/ cacls) to a local folder (that is, the web server) the thing works like a charm. It's only when I try to do anything on another server that it refuses to work. Seems like it has to be a permissions issue, but I've tried various authentication methods, including running the app in IIS under a domain admin account, but nothing works. Thanks for your help

"Ray Costanzo [MVP]" wrote:
How do you know that it isn't mapping the drive? How about net
sending? Try a batch file like this:

net send theNameOfYourComputer "Hi, I'm your Web server."

I'm kinda jumping in after missing the beginning of this thread, so I'm not sure what you've tried so far or what else is going on.
Sorry about that.

Ray at work

"Mark C." <Ma***@discussions.microsoft.com> wrote in message
news:D3**********************************@microsof t.com...
Thanks for your response. Unfortunately, I've tried Basic

Authentication,
logging in w/ a privileged account, and the behavior is the same.
That is,
nothing happens. Why I would want to map a drive is a good

question. The
drive mapping is superfluous. I was just trying to get the
script to do
something -- anything. The main purpose of the script is to
apply permissions through cacls, which won't work either, though the

script works
fine from a command prompt. Thanks again.

"Ray Costanzo [MVP]" wrote:

> Try using basic authentication for testing purposes. If that

works, check
> out:
>
> http://support.microsoft.com/?kbid=287537
> http://support.microsoft.com/?kbid=264921
>
> With integrated authentication, you cannot "daisy-chain" that

authentication
> from the IIS server to another server, afaIk. So, if you're

trying to run a
> script on the server that's accessing another server, i.e.

mapping a drive
> (why?), I ~believe~ you cannot use integrated authentication

then.
>
> Ray at home
>
>
> "Mark C." <Ma***@discussions.microsoft.com> wrote in message
> news:EE**********************************@microsof t.com...
> > The batch file maps a drive and uses cacls to apply

permissions to a
> > folder.
> > It does not raise a prompt or any other GUI. And thanks
for the reference
> > to
> > www.aspfaq.com/2059, which I read. I've also tried simply

maping a drive
> > w/out the attempt to apply permissions and the same thing

happens, or,
> > more
> > accurately, doesn't happen. Thanks again for your help.
> >
>
>


Jul 22 '05 #11
I have a terminal server session to the web server, so that's how I know that
no drive is being mapped. As I mentioned in a previous thread, the drive
mapping is superfluous, and I am using a UNC path to attempt to apply
permissions (cacls \\<server name>\<share name>\<folder to which to apply
permissions> /T /E /G <domain>\<user name>:C. Also, as I mentioned earlier,
the script runs fine from a browser if the script that is called to apply
the permissions does so on a folder on the web server. The script is indeed
being called but it works only on the web server. The line above that
attempts to apply the permissions on another server, if called from a
browser, does not work. Thanks again for your help. I apologize for not
being specific enough.

"Ray Costanzo [MVP]" wrote:
How are you trying to access the T drive? Are you sitting at the
server? Have you tried taking things back a few steps as suggested?
When you get to the step of modifying ACLs, I suggest using UNC
paths. But for now, can you verify that your batch is running?

net send yourcomputer I ran
echo I
ran>C:\Path\Which\Has\FullControl\For\Everyone\Per missions\test.txt

Ray at work
"Mark C." <Ma***@discussions.microsoft.com> wrote in message
news:1C**********************************@microsof t.com...
After I run the script, which includes "net use T: \\<server

name>\<share
name>" and go to a DOS prompt and try to access the T: drive, there

is no T:
drive. If I manually run the script from a DOS prompt, no

problem -- the
drive is mapped and the permissions are applied. If I alter the

script and
omit the drive mapping and apply the permissions (w/ cacls) to a

local folder
(that is, the web server) the thing works like a charm. It's only

when I try
to do anything on another server that it refuses to work. Seems

like it has
to be a permissions issue, but I've tried various authentication

methods,
including running the app in IIS under a domain admin account, but

nothing
works. Thanks for your help

"Ray Costanzo [MVP]" wrote:
How do you know that it isn't mapping the drive? How about net
sending? Try a batch file like this:

net send theNameOfYourComputer "Hi, I'm your Web server."

I'm kinda jumping in after missing the beginning of this thread, so I'm not sure what you've tried so far or what else is going on.
Sorry about that.

Ray at work

"Mark C." <Ma***@discussions.microsoft.com> wrote in message
news:D3**********************************@microsof t.com...
> Thanks for your response. Unfortunately, I've tried Basic
Authentication,
> logging in w/ a privileged account, and the behavior is the same. That is,
> nothing happens. Why I would want to map a drive is a good
question. The
> drive mapping is superfluous. I was just trying to get the script to do
> something -- anything. The main purpose of the script is to apply > permissions through cacls, which won't work either, though the
script works
> fine from a command prompt. Thanks again.
>
> "Ray Costanzo [MVP]" wrote:
>
> > Try using basic authentication for testing purposes. If that
works, check
> > out:
> >
> > http://support.microsoft.com/?kbid=287537
> > http://support.microsoft.com/?kbid=264921
> >
> > With integrated authentication, you cannot "daisy-chain" that
authentication
> > from the IIS server to another server, afaIk. So, if you're
trying to run a
> > script on the server that's accessing another server, i.e.
mapping a drive
> > (why?), I ~believe~ you cannot use integrated authentication
then.
> >
> > Ray at home
> >
> >
> > "Mark C." <Ma***@discussions.microsoft.com> wrote in message
> > news:EE**********************************@microsof t.com...
> > > The batch file maps a drive and uses cacls to apply permissions to a
> > > folder.
> > > It does not raise a prompt or any other GUI. And thanks for the reference
> > > to
> > > www.aspfaq.com/2059, which I read. I've also tried simply
maping a drive
> > > w/out the attempt to apply permissions and the same thing
happens, or,
> > > more
> > > accurately, doesn't happen. Thanks again for your help.
> > >
> >
> >


Jul 22 '05 #12
io
> After I run the script, which includes "net use T: \\<server
name>\<sharename>"
G'day Mark,

You may be able overcome the problem by extending the NET command with
explicit name and password of the user who does have permissions to map a
drive to remote server (when you run your script from DOS prompt it uses
credentials of a currently logged user, most likely with administrative
privileges).

Your modified NET command will look like this:

NET USE X: \\<server name>\<share name> /USER:<user name> <password>
/PERSISTENT:[YES | NO]

It is, of course, not an ideal solution, but you can create a dedicated
local user account and refine its privileges as you like.

Cheers
Jul 22 '05 #13
hi:)
i'm also facing a similar issue in my project.
were you able to get any solution for the above issue
thanxs in advance,
Mike

************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
Jul 22 '05 #14
mi********@yahoo.com wrote on 25 jan 2005 in
microsoft.public.inetserver.asp.general:
hi:)
i'm also facing a similar issue in my project.
were you able to get any solution for the above issue
thanxs in advance,


This is not mail, but usenet.

I see nothing "above".

according to netiquette, don'd expect us to look back to previous posts
that may or may not be kept on a local news server, but sparingly topquote
or interquote relevant text you are replying on.

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Jul 22 '05 #15

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

Similar topics

3
by: Yitzhak | last post by:
I am having "Permission denied" error while calling LogEvent method of WScript.Shell component. Basically, ASP page calls Windows Script Host Shell component to log events to the OS Application...
1
by: Christian-Josef Schrattenthaler | last post by:
Hi! I have a batch-file (*.bat) which logon the client to our server, including printer and drive mappings. Now I want to replace the batch-file with a script for the windows scripting host,...
0
by: Steve Jorgensen | last post by:
I remember that I used to set up utility batch files, and create Windows shortcuts to them that would ask the user for parameters to supply to the batch files. From what I can tell, this...
1
by: Bucky Pollard | last post by:
I have a web service that needs to create a batch file and call it (since there are no APIs for the functionality I am looking for). I am using the Process and ProcessStartInfo objects. When I try...
13
by: MLH | last post by:
I have a batch file named GetConf.bat. It contains a line like this: ipconfig /all >c:\MyAppDir\IPdata.txt I believe I could run the line with something like ShellWait by Terry Kreft. Any...
5
by: benyod79 | last post by:
I'm hoping someone will be able to assist with this one. Using a scheduling program I'd like to run a batch file that runs a macro to creat e a copy of the opened database. Then, using batch again,...
0
by: gabrielk43 | last post by:
Hi to all, I have made a web service which creates a batch file in a folder in web server and tries to execute it (in a Windows Server 2003 web server). So far I have managed to create the batch...
12
by: Raghunandan24 | last post by:
Hi, I wanted to know how to run dos commands using javascript. Also i need to run a batch file with two command line arguments. These commandline arguments are variables. Thanks Raghu
1
by: Raghunandan24 | last post by:
Hi, I would like to know how to pass arguments to a batch file using vb script. I am able to run the batch file using wshShell.Run. I am up against a wall here... Dim WshShell Set WshShell...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.