bat to vbs

Author Message
realCisco

  • Total Posts : 1
  • Scores: 0
  • Reward points : 0
  • Joined: 7/11/2011
  • Status: offline
bat to vbs Monday, July 11, 2011 3:24 AM (permalink)
0
All greetings. Forgive for my English
Not the big deviation when that for a long time was .bat in which all on curve worked and here at last I all have transferred in vbs a script, connection of printers and disks depending on group, creation of labels, copying of files. But here the most simple has missed in .bat were echo which were written to text files. The problem them too to move in vbs a script but as it to make yet hasn't understood.

echo logon  %username% %computername% %date% %time% >>\\srv1\logs$\logonlog\users\%username%.txt 
echo logon  %username% %computername% %date% %time% >>\\srv1\logs$\logonlog\computers\%computername%.txt 
echo logon  %username% %computername% %date% %time% >>\\srv1\logs$\logonlog\!logonlog.txt 
echo %userdomain%\%username% authenticated at %LOGONSERVER% %date% %time% for %computername% >>\\srv1\logs$\logonlog\authserver.txt
 
#1

    Online Bookmarks Sharing: Share/Bookmark

    Jump to:

    Current active users

    There are 0 members and 1 guests.

    Icon Legend and Permission

    • New Messages
    • No New Messages
    • Hot Topic w/ New Messages
    • Hot Topic w/o New Messages
    • Locked w/ New Messages
    • Locked w/o New Messages
    • Read Message
    • Post New Thread
    • Reply to message
    • Post New Poll
    • Submit Vote
    • Post reward post
    • Delete my own posts
    • Delete my own threads
    • Rate post

    2000-2012 ASPPlayground.NET Forum Version 3.9