Results 1 to 7 of 7

Thread: Batch file codes?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2008
    Posts
    95

    Question Batch file codes?

    Hi! im pretty new at batch codes! (.bat files)
    and i want to learn me more

    I can write like this

    @Echo off
    Title Blablaa!
    Color 24
    Echo Yo man! ;D
    Echo this save to a sys file!>>"Yoh.sys"
    :checkpointz
    Echo The time is now %time% and the date is %date%
    PING 1.1.1.1 -n 1 -w 1000 >NUL
    GoTo checkpointz



    Any guides there i can learn me more? i've google alot.

    and i want learn me another code! its a code that only makes one text to bee a color!

    also with the code color, it makes all the text that color
    so i need a code to only make the font that color..

    Also test write like this, its make all red when it say Pausing

    @Echo off
    :loop
    Color 2
    Echo Hmm, i love green!
    Echo -----------------
    Color 4
    Echo -----Pausing-----
    color 2
    Echo -----------------
    PING 1.1.1.1 -n 1 -w 2000 >NUL
    GoTo loop

  2. #2
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: Batch file codes?

    Now write a batch file to automatically map to a shared network drive when Windows logs in.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Feb 2008
    Posts
    95

    Re: Batch file codes?

    Quote Originally Posted by timeshifter
    Now write a batch file to automatically map to a shared network drive when Windows logs in.
    WHAT!? are you crazy!? is that even possible?! :S

    Please learn me makeee, i can't learn from ppls that say like you did just.. im not same smart like other ppls that learn things when the teacher say: "hack NASA and put in a better security"

    LoL!

    But it is not any guides!?
    but, can you gimme the code that i wanted? the font color

  4. #4
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: Batch file codes?

    Actually, I can't... I found the mapping code on Google. Ended up being like 3 lines. Very simple. Not even needed, though... XP can do it automatically...

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Feb 2008
    Posts
    95

    Re: Batch file codes?

    Quote Originally Posted by timeshifter
    Actually, I can't... I found the mapping code on Google. Ended up being like 3 lines. Very simple. Not even needed, though... XP can do it automatically...
    If u thinks batch code is so easy, so why u not make a guide or tell some codes and what the codes does!?

    BTW, ur police right? can i lend ur handcuffs, cuz my GF need it to use with me in bed

  6. #6
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Batch file codes?

    Thread Moved and Cleaned up

    Please dont post technical threads in chit chat unless you dont want them to get taken seriously.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  7. #7

    Thread Starter
    Lively Member
    Join Date
    Feb 2008
    Posts
    95

    Re: Batch file codes?

    Ok, but seriouse, i need to learn me more batch codes, does anyone got any idea!?

Posting Permissions

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



Click Here to Expand Forum to Full Width