Scripts
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb Site ManagementScripts

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old March 12th, 2006, 03:17 AM
IPBR21054 IPBR21054 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Posts: 1 IPBR21054 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 42 m 2 sec
Reputation Power: 0
A little help with a basic script please.

I am using this script to run a programe but the programe loads and then the screen goes black then the programe loads again.It does this every time.To be honest new to this and not sure what to look for,any help would be nice.
What i hope to do is to click the icon and it loads once without the screen going black etc etc.

When i check on the properties for this script it is called a time changer.

var d, s, command, dos_com, option, appl;
appl = "epcmc.exe";
d = new Date();
s = d.getDate() + ".";
s += (d.getMonth()+1) + ".";
option = s + "1999";
s += d.getFullYear();
var WshShell = WScript.CreateObject("WScript.Shell");
command = "%COMSPEC% /c ";
dos_com = "date ";
WshShell.Run (command + dos_com + option, 0);
WshShell.Run (appl);
WScript.Sleep (3000);
option = s;
WshShell.Run (command + dos_com + option, 0);

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb Site ManagementScripts > A little help with a basic script please.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway