ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/ns_dev/Python/NinoCode/Active_prgs/EBStartUp.py
Revision: 8
Committed: Sat May 5 04:21:19 2012 UTC (13 years, 10 months ago) by ninoborges
Content type: text/x-python
File size: 447 byte(s)
Log Message:
Initial Import

File Contents

# User Rev Content
1 ninoborges 8 ## EBStartUp.py
2     ## This program will give me a Online startup and Offline Startup mode. It will launch all the shortcuts in NET_Startup
3     ## if it finds out that it's on the MW network.
4    
5     import os
6    
7     netStartupDir = r'C:\Documents and Settings\eaborges\Start Menu\Programs\NET Startup'
8     onlineDir = r'Y:\log_files'
9    
10     if os.path.exists(onlineDir):
11     for file in os.listdir(netStartupDir):
12     os.startfile(netStartupDir + "\\" + file)