0
votes
2answers
39 views

Python or VB script to run a batch file in background even the user logged out in windows [closed]

We need python or VB script code to run a batch file in background even the user logged out the system. The script should run always irrespective of users logged in/logged off and machine reboot. I ...
1
vote
1answer
19 views

Adding some kind of event listener for network connectivity

I have at my disposal the following resources: VBScript, WMI Queries, Registry Key/Values, .bat batch files Using any combination of these resources I need to create some kind of event listener that ...
2
votes
2answers
95 views

Use the contents of a file to rename it [duplicate]

I have binary datafiles that are approximately 20 MB in size and that have random filenames, all starting with "AA". In each file's content, they have a specific string at a fixed position (in all ...
0
votes
2answers
43 views

Keep some part of a file and process some others by a vbs script file from a batch file

I need to keep some part of a file and deal with those items whom I pull from this file. I call a VBScript file from a batch to process those items I want to transform. My goal is to have all of them ...
0
votes
1answer
40 views

vbscript to get the files in a format from ftp with today's modified date

I have a requirement to get the files in a specified format from a ftp using vbscript. Can any one help me on this. I have to get files with name format VarList12DDMMYYYY******.csv, ...
0
votes
0answers
60 views

Execute QTP script using C# webapplication

I am trying to execute QTP scripts that are stored on QTP environment using C#. In my research i have found that it can be done using VBS script or batch file to run a QTP script. Can someone please ...
0
votes
2answers
32 views

Grab input from text file and use in CLI vbs/batch

I am trying to change a QueueDepth setting on several HBAs witin our environment. I am horrible with scripting, but I am trying to stumble through it so that we don't need to implement this change ...
0
votes
1answer
70 views

I need a vbscript if possible or a batch (.bat) file that changes tcp/ip printer color options to black & white

first of all, I am new to the world of scripting. I did a VBScript that adds TCP/IP printers (in a network) to a computer. So far I also managed to change the printers to perform duplex printing ...
1
vote
2answers
43 views

How Can I run a bat file simultaneously with the vbs script running from same bat file

How Can I run a bat file simultaneously with the vbs script running from same bat file. ie., i can input data into the cmd and the vbs file is also open along with it. i am planning to make an ...
0
votes
1answer
95 views

VBScript to Automate Outlook emails via Mail Merge

Im looking for a VBScript that will automatically send an email to each person on a list of contacts I have in an excel tabel using a mail merge. Any help would be much appreciated and if you need ...
-2
votes
2answers
62 views

vbs or bat to search file in a specified directory and open file based off of extension, then find and replace string

We have a program that installs a config document in %appdata%\Roaming\. I need a script that I can push out via GPO that will do the following: Search a specified directory by file extension Search ...
2
votes
2answers
86 views

Why is my entire batch script running as a SETLOCAL command?

I don't understand what I'm doing wrong, the output is always the entire script, with an Invalid parameter to setlocal error! This is probably just a silly mistake, but it's making me crazy. SETLOCAL ...
1
vote
2answers
103 views

Passing parameters from vbscript to batch file

Hi I am having an issue passing parameters through a vbscript to a batch file. I am not very good at programming so I am sure I am just missing something stupid. Anyway I am using the vbscript to ...
1
vote
0answers
61 views

Sorting and moving huge amount of files [closed]

Well, as I expected, not any of totalcomander and filezilla can sort files with a specific filenames. For example, I have about 40 000 + files, that has filename in this way: ...
-1
votes
1answer
57 views

How to remove a linebreak in a text file VBScript

I have numerous CSV files and they don't import correctly to excel, im just asking is there a way to remove the line breaks at the end of the strLine using VBScript?

1 2 3 4 5 20
15 30 50 per page