I have written a simple script that works, but I have to use the command sh <script> to run it. Just typing in the script name does not work.
Is there a way of executing the script by just typing the script name?
Thanks.
I have setup a very, very basic vbscript to print several word documents.
The script is as follows - (I have left out most of the documents, as the lines are all the same, with only the dicument name being different)
Set objWord = CreateObject("Word.Application")
objWord.Visible = True
Set...
I am inputting a date in a specific column (A)
When entering the date I need to check the weekday. If the weekday is a weekend (Saturday or Sunday), I then manually change the date to the previous Friday's date.
I can visually check the weekday, as the cell format is set as dddd, dd/mm/yy...
Does anybody know of, or has anybody created a basic Access database, for the tracking and vaulting of tapes?
On a daily basis, we store tapes offsite, via a collection / delivery using Iron Mountain. Some tapes are sent offsite, grouped in a box and other go offsite individually.
I would like...
I have created a basic CL program MSGBRKS (all of 3 lines!)
I can run the program in the usual way -
CALL OPERATIONS/MSGBRKS , which works fine.
I have made sure the the OPERATIONS library is in my library list. So I can just type in CALL MSGBRKS to run the program
Is there any way of just...
Does anybody know if there are any on-line or free I-Series (AS/400) training resources for IBM i-series certification?
The company I work for will not pay for any training and I can't afford to sen d myself on a course.
If anybody knows of any useful websites or resources, it would be most...
Hi,
Is there an equivalent of grep on an AS400?
I would like to search a file looking for a particular pattern or string in the same way you can use grep with Unix.
I know grep is available on AS400 but only in IFS directories. My file wont be in an IFS directory.
Thanks.
Does anybody know what formula I should use in a Microsft Word Table cell, so that a day and date are calculated automatically?
Currently I open a document type in or change the day and date, save the document and then print it.
What I wish to do is just print the document with the day and...
Is there anyway an AS400 can execute a command(s) auromatically whan you logon?
It should be simple, but I don't know how.
I would like to login under my own userid and automatically run the command CHGMSGQ QSYSOPR *BREAK and also CHGMSGQ RAOPS *BREAK.
I am new to AS400. I know thiscould be...
I have a spreadsheet to complete daily.
I have to enter batch job run timings. I have to calculate run times mentally i.e job1 starts at 11:30 and job2 starts at 11:32, so the run time I would enter = 2 minutes (00:02 is what I would actually enter)
Is there any way of entering the start time...
I am writing a very basic VBscript.
It simply asks for input of a date, sets a variable to the date entered (variable name is 'Date') and then runs Xcopy to copy any files changed on or after the date entered. I have managed to set the variable using an InputBox (big deal, I hear everyone...
I am a complete novice with AWK and would like to use it to extract and summarize information from a Backup Exec logfile.
I have managed the basics of extracting the raw info I want -
awk "/Job name/ { print $0 } " bex182.txt
awk "/Processed/ { print $0 } " bex182.txt
awk "/Job completion...
My Internet connection keeps freezing between 30-60 minutes after connection. I am using a modem - dial up connection.
I can initially connect to the Internet quite happily and browse away, but after a while when I try to connect to any websites I get 'unable to connect' in my web browser. The...
I have a form that contains 7 tick boxes for days of the week Mon - Sun. The form contains information of batch jobs and what days that they run on. So a tick box is selected for aby relevant days.
I want a report to show the job name along with the days it runs according to the tick box...
I cannot print to an HP Laserjet 4050 T from my NT workstation. When I print a test page, it briefly appears in the print queue and then disappears but nothing is physically printed.
Looking at the printer properties (port settings), it is set to print to an IP address - 137.223.38.126 (I can...
I frequently have to setup XP pc's. One of the tasks is creating a new network / dialup connection, using the New Connection Wizard on each PC. The details / options for the new connection (name, tel. no.) are always the same.
Is there any way of automating / scripting this? Also the...
I am creating a small form page using HTML and using VBScript to perform some actions using the data entered in the form.
The form contains 4 Radio Buttons to allow the selection of a server - HTMOA1, LONOA1, LONOA4, DUK0A1.
I have added the VBScript Sub Routine that is called when one of the...
I have been working on an NT script 'user setup' script.
It should prompt for user input for an NT user id, a users Christian name, and a users Surname. The input from these are set as variables.
The script then creates 4 new folders (1 folder + 3 sub folders)on a server name HTMOA2. The...
Hi, I have a program that periodically e-mails a message to recipients using MS Outlook(2002 - XP version)
When the program tries to send the message, I am getting the message -
'A program is trying to access e-mail addresses you have stored in Outlook. Do you want to allow this? If this is...
Please, please help!
When a new user start in our company I have to create a new share for that user plus three sub folders, that are always the same name.
I am looking for a way to use NT commands from the command prompt and hopefully create some kind of batch script to semi-automate the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.