Results 1 to 5 of 5

Thread: .bat - batch files

  1. #1
    Squeeler Vini's Avatar
    Join Date
    Jul 2003
    Location
    Sheffield
    Posts
    1,769
    Thanks
    44
    Thanked
    8 times in 8 posts

    .bat - batch files

    im playing, got a .bat that contains

    Code:
    echo 
    echo
    echo
    
    title <company name>
    
    echo Hello %username%, welcome to the <company> Network
    
    echo You are accessing the network from %computername%
    
    echo PLEASE WAIT, authenticating %username% with the %LANGROUP% domain
    
    net use T: \\server\departments\general

    this batch currently runs when i logon to my XP machine, but runs minimized in the bottom left corner, any way to keep it maximised, display the 3 "welcome lines" and then close after say 10 seconds?


    also, can batch files run as logon scripts with Active Directory 2003

  2. #2
    Senior Member
    Join Date
    Mar 2005
    Posts
    4,935
    Thanks
    171
    Thanked
    384 times in 311 posts
    • badass's system
      • Motherboard:
      • ASUS P8Z77-m pro
      • CPU:
      • Core i5 3570K
      • Memory:
      • 32GB
      • Storage:
      • 1TB Samsung 850 EVO, 2TB WD Green
      • Graphics card(s):
      • Radeon RX 580
      • PSU:
      • Corsair HX520W
      • Case:
      • Silverstone SG02-F
      • Operating System:
      • Windows 10 X64
      • Monitor(s):
      • Del U2311, LG226WTQ
      • Internet:
      • 80/20 FTTC
    Quote Originally Posted by Vini
    im playing, got a .bat that contains

    Code:
    echo 
    echo
    echo
    
    title <company name>
    
    echo Hello %username%, welcome to the <company> Network
    
    echo You are accessing the network from %computername%
    
    echo PLEASE WAIT, authenticating %username% with the %LANGROUP% domain
    
    net use T: \\server\departments\general

    this batch currently runs when i logon to my XP machine, but runs minimized in the bottom left corner, any way to keep it maximised, display the 3 "welcome lines" and then close after say 10 seconds?


    also, can batch files run as logon scripts with Active Directory 2003
    There's a "run Logon scripts Visible" option in Group policy.
    Rename the extension to .cmd - it just makes things easier. Also get rid of all of that crap - just leave the drive mapping command there. The rest is totally pointless
    "In a perfect world... spammers would get caught, go to jail, and share a cell with many men who have enlarged their penises, taken Viagra and are looking for a new relationship."

  3. #3
    Will work for beer... nichomach's Avatar
    Join Date
    Jul 2003
    Location
    Preston, Lancs
    Posts
    6,137
    Thanks
    564
    Thanked
    139 times in 100 posts
    • nichomach's system
      • Motherboard:
      • Gigabyte GA-870A-UD3
      • CPU:
      • AMD Phenom II X6 1055T 95W
      • Memory:
      • 16GB DR3
      • Storage:
      • 1x250GB Maxtor SATAII, 1x 400GB Hitachi SATAII
      • Graphics card(s):
      • Zotac GTX 1060 3GB
      • PSU:
      • Coolermaster 500W
      • Case:
      • Coolermaster Elite 430
      • Operating System:
      • Windows 10
      • Monitor(s):
      • Dell 20" TFT
      • Internet:
      • Virgin Media Cable
    Also I'd recommend using Kixtart. It's a GREAT logon script processor and it's free.

  4. #4
    Time for Walkies... Atomic's Avatar
    Join Date
    Apr 2004
    Location
    Norfolk, UK
    Posts
    1,959
    Thanks
    0
    Thanked
    0 times in 0 posts
    Ah the wonder of kix... the hastle other peoples scripts have caused me!

  5. #5
    Squeeler Vini's Avatar
    Join Date
    Jul 2003
    Location
    Sheffield
    Posts
    1,769
    Thanks
    44
    Thanked
    8 times in 8 posts
    i did grab kix but i didnt give it chance.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Script to compare number in text files?
    By wasabi in forum Software
    Replies: 5
    Last Post: 09-05-2005, 04:10 PM
  2. Batch file & copy query
    By Fatboy in forum Help! Quick Relief From Tech Headaches
    Replies: 4
    Last Post: 25-04-2005, 03:42 PM
  3. Network Files Transfer Question
    By milanlad in forum Networking and Broadband
    Replies: 6
    Last Post: 01-04-2005, 06:46 PM
  4. Creating batch files.
    By SansSouci in forum Help! Quick Relief From Tech Headaches
    Replies: 0
    Last Post: 08-03-2005, 08:52 PM
  5. How do you backup?
    By Howard in forum PC Hardware and Components
    Replies: 48
    Last Post: 05-01-2005, 09:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •