Tagged Questions
2
votes
1answer
40 views
How to call a cmd on a remote server without having the absolute path
I would like to call a cmd (let's call it x.cmd) on a remote server. The x.cmd will return a log file in a log folder. Problem is this log folder in x.cmd doesn't have an absolute path (just a ...
0
votes
2answers
217 views
Bat script using WMIC causing issues
I am trying to write a script to install the correct display driver. Long story short on newer systems when you add a dedicated card the onboard is no longer disabled so when I run this command:
FOR ...
2
votes
2answers
133 views
Is it possible to have scripts that trigger whenever an IM is received in Microsoft Lync?
I've just upgraded to Lync 2013, and I'm considering using it instead of Pidgin+SIPE. One of Pidgin's many nice features is Growl integration... and I would miss that.
There are no Growl plugins for ...
0
votes
1answer
101 views
run interactive program from Window CMD script
I have a CMD script to run on Windows. It does DEL, but the shell would ask "Are you sure?"
How do I make the script answer 'YES', or better yet, just does a silent DEL ?
Thanks
1
vote
2answers
557 views
How do I open a random file in a folder, and set that only files with the specified filename extension(s) should be opened?
How do I open a random file in a folder, and set that only files with the specified filename extension(s) should be opened? (While preferably, supporting Unicode filenames too.)
I've already looked ...
-2
votes
1answer
30 views
How to download the latest version of software from a site using a script?
For example:
How to download the latest Google chrome from their site using a Bach file or any kind of scripting language (python,ruby etc)?
its the concept i am looking for.
Any help will be ...
0
votes
1answer
470 views
Override mapped drive name using .bat script?
I have the following batch script which is successfully mapping a few of our drives for our users:
@echo off
net use * /delete /yes
net use x: \\192.168.1.52\xrays
net use s: \\192.168.1.52\common
...
1
vote
1answer
100 views
If I wanted to use a batch file to restart 3 programs how would I do that?
I want to create a batch file that when ran it will exit 3 separate applications, wait a few seconds and then relaunch the same applications. Can someone assist me with some resources for ...
0
votes
4answers
412 views
Writing scipt to open multiple applications with a username/password
Is there a way to write and run a script that will enable me to:
Run an app with a username/password
Have that script carry out a few simple shortcut commands (ie connecting to and receiving from ...
3
votes
2answers
1k views
How to extract a complete list of extension types within a directory?
Within a directory, and recursively within it's sub-directories, meaning every directory within a directory is processed, how do I compile a complete list of unique extensions within the directory?
...
1
vote
1answer
564 views
Run a login script without startup folder
So I have to run a login script when User X logs on. I put that script (.bat) in the startup folder and it works fine. However, I also have to disable the explorer shell and once I do that the startup ...
0
votes
0answers
122 views
CScript Terminates before completing task
I am using the below with mods but ziping several Gb of info the last command is Wscript.sleep 2000.
I have extended this to 20,000 and 200,000 but I use the script vor various diferent sizes. Is ...
1
vote
0answers
291 views
How can I create a VPN connection via a startup script?
I am trying to deploy a VPN connection to all laptops on my Domain via the startup script. It has to be done at startup and not login as the connection has to be available to all users and they don't ...
3
votes
1answer
1k views
How can I batch/mass create users for a Filezilla FTP server?
I recently inherited two FTP servers; both systems run Filezilla Server. One has a small user-base so creating users is a small task. The other is huge and needs to have 300+ users created. I estimate ...
3
votes
1answer
2k views
Can you send function key commands to DOS from a batch file?
I am new to batch files and I need to write one for a program that runs in DOS. One of the questions on the prompt requires a function key command (i.e. F1, F2, etc).
I've read an article that says ...
0
votes
1answer
146 views
How to copy file from current location to C:\ using cmd
How to make script file that copies MyFile.exe from the current location to C:\?
2
votes
1answer
415 views
PowerShell or batch script to delete with exclusions
What's a good way to delete everything below a certain path, supplying a list of exclusions?
E.g.
C:\
MyFolder
MyApp
MyConfig
MyWorld
MyEverything
...
3
votes
5answers
6k views
Batch file to replace a single character in Windows filenames
I have a Windows Server 2003 server that has a whole bunch of filenames that need renaming. Basically, I just need all - (hyphens) replaced with _ (underscores), no matter where they are in the ...