batch file to open 2 progs with time delay

  • Thread starter Thread starter Andy
  • Start date Start date
Zilbandy said:
I hope any solutions found are posted to this thread. I'd also like to
start a couple of apps using the vbs script and haven't got it to work
here either, although the calc and notepad example works fine.

Will do. If I figure out what's going on.

I have no problem using the full paths to notepad and calc.
 
Will do. If I figure out what's going on.

I have no problem using the full paths to notepad and calc.

Try using a path to some other programs. I've tried using the path to
UltraEdit text editor on my system, and it doesn't work. I get exactly
the same error as Andy is getting. In my case, the path to my program
is "c:\program files\ultraedit\uedit32.exe".
 
Zilbandy said:
Try using a path to some other programs. I've tried using the path to
UltraEdit text editor on my system, and it doesn't work. I get exactly
the same error as Andy is getting. In my case, the path to my program
is "c:\program files\ultraedit\uedit32.exe".


Yep. Spaces in filenames strikes again..

You can either change the path to the short name equivilent, or try
this, where the script will generate the shortpath.


dim oShell, oFSO, oFile

Set oFSO = CreateObject("Scripting.FileSystemObject")
Set oShell=WScript.CreateObject("WScript.Shell")

Set oFile = oFSO.GetFile("C:\Windows\system32\calc.exe")
oShell.Run oFile.ShortPath,1,false

wscript.sleep 20000

Set oFile = oFSO.GetFile("c:\program files\ultraedit\uedit32.exe")
oShell.Run oFile.ShortPath,1,false
 
Yep. Spaces in filenames strikes again..

You can either change the path to the short name equivilent, or try
this, where the script will generate the shortpath.

That fixed it here. Thanks for all the help. Andy and I thank you. :)
 
From: "Danbo342" <[email protected]>


| I see the age of it, but being that I found this topic on a similiar search, decided to
| take the time to post my findings should someone else need assistance.
| So in other words, just to help someone, unlike your comment just to annoy. --
| Danbo342

techarena.in Posts annoy in general. I wish they would f'n get rid of their PITA Usenet
gateway forever. Wer are so tired of seeing replies to Usenet posts eminating from
techarena.in that never quote what they are replying to and ressurecting threads so old
the original posters (OP) no longer care.


The way to access this group is DIRECTLY with any news client via the following news
URL...

news://msnews.microsoft.com/microsoft.public.windowsxp.help_and_support
 
Nobody is modifying your (or anyone's) post. I'd suggest you stop
listening to Glenn Beck.
 
From: "Danbo342" <[email protected]>

| Who keeps modifying my posts? I take the time to post helpful information, 1st someone
| modifies my last line in the code, taking out "Start" from the "C:\a.lnk" line, and now
| after some idiot posts a comment to my good deed, that message is removed and my reply
| is now added to my original post making it look like I am talking to Andrew... Is this
| the proper use of moderating?
| I believe it's actually quite illegal to change what people say, is it not? So much for
| trying to help a future someone. I'm going to have these screenshots investigated, this
| is bs. -- Danbo342


techarena.in is a POS.

The way to access this group is DIRECTLY with any news client via the following news
URL...

news://msnews.microsoft.com/microsoft.public.windowsxp.help_and_support
 
I hear he and Sarah Palin are an item. Hey, if they can spread lies and
innuendo so can we! If we are lucky they will move to the polar ice cap
and never be heard from again...
 
From: "Danbo342" <[email protected]>

| Wrong!
| Someone deleted a post here and took a reply I had made in a seperate comment block and
| put it into my original post. See end of first comment end
| "I see the age of it, but being that I found this topic on a similiar search, decided
| to take the time to post my findings should someone else need assistance.
| So in other words, just to help someone, unlike your comment just to annoy."

| That was in a different block.
| As far as Glenn Beck, I never heard of him, you people here are incredibly rude. --
| Danbo342


Stop using the piece od sh!t techarena.in forum and do what I told you.

DIRECTLY connect to this news group with any news client via the following news URL...

news://msnews.microsoft.com/microsoft.public.windowsxp.help_and_support

Or is it too much above your intelligence level to it ?
 
If only we could convince you to take two minutes to configure a news
reader you might see what is really going on with your Techarena posts!
The name of the Microsoft news server is: msnews.microsoft.com

Try these:

news://msnews.microsoft.com
news://msnews.microsoft.com/microsoft.public.windowsxp.help_and_support


Learn how to configure two popular newsreaders:

http://www.frickelsoft.net/news.html
How to configure Microsoft Newsgroups with Outlook Express

http://ilias.ca/moznewsgroups-tb
Subscribing to news.mozilla.org newsgroups with Thunderbird

John
 
Danbo342 said:
Who keeps modifying my posts? I take the time to post helpful
information, 1st someone modifies my last line in the code, taking out
"Start" from the "C:\a.lnk" line, and now after some idiot posts a
comment to my good deed, that message is removed and my reply is now
added to my original post making it look like I am talking to Andrew...
Is this the proper use of moderating?
I believe it's actually quite illegal to change what people say, is it
not? So much for trying to help a future someone. I'm going to have
these screenshots investigated, this is bs.

And you thought any the participants were still monitoring that /*OVER
2-YEAR OLD*/ thread?

http://forums.techarena.in
A leech site pretending to have forums by running a webnews-for-dummies
interface that submits improperly formatted posts through a gateway to
Usenet (aka newsgroups).

No one here in Usenet has any control over what the moderators or admins do
regarding posts in that forum. Contact them. Better ask them quick as they
may not keep a history of deleting/modified posts so whoever had permission
to do the change would have to recall it from their memory.

You say that you weren't replying to Andrew, and that your post got deleted,
but then your post that does exist start with "Hey Andrew". Uh huh.
Perhaps what you clicked on wasn't Reply or Quote but instead Edit.
 
Back
Top