Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Batch file to copy an paste text  (Read 9386 times)

0 Members and 1 Guest are viewing this topic.

daillest319

    Topic Starter


    Beginner

    • Experience: Beginner
    • OS: Unknown
    Batch file to copy an paste text
    « on: June 15, 2012, 12:39:38 PM »
    is there way for a Batch script to paste text stored with the batch script? like a log on id

    Squashman



      Specialist
    • Thanked: 134
    • Experience: Experienced
    • OS: Other
    Re: Batch file to copy an paste text
    « Reply #1 on: June 15, 2012, 02:30:42 PM »
    Pretty much give you the same answer for both of your question and the Same answer they gave you on the DosTips forums. You would need to use a program like AutoIt or AutoHotKey.

    Lemonilla



      Apprentice

    • "Too sweet"
    • Thanked: 70
    • Computer: Specs
    • Experience: Experienced
    • OS: Windows 7
    Re: Batch file to copy an paste text
    « Reply #2 on: June 15, 2012, 07:47:37 PM »
    you could use set /p string=<File.txt and then echo %string%>>File2.txt
    but his only works for the first line of text.
    Quote from: patio
    God Bless the DOS Helpers...
    Quote
    If it compiles, send the files.

    htoochonaung



      Newbie

      • Experience: Beginner
      • OS: Windows 7
      Re: Batch file to copy an paste text
      « Reply #3 on: January 24, 2014, 10:41:48 PM »
      hello bro.
       IN your File2.txt , why include Echo is off.

      plz explain me.

      [recovering disk space, attachment deleted by admin]

      Geek-9pm


        Mastermind
      • Geek After Dark
      • Thanked: 1026
        • Gekk9pm bnlog
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 10
      Re: Batch file to copy an paste text
      « Reply #4 on: January 24, 2014, 11:42:43 PM »
      is there way for a Batch script to paste text stored with the batch script? like a log on id
      Batch files are used in some cases where you need to send a file to a remote computer that requires a password. Is that what you mean?
      -OR-
      A simple way to tog into a web site, like Facebook, when the user has some handicap that limits his vision or  typing skill.
      Auto Hot Key  is often used by people with handicaps.
      Or people who nae lazy.

      Automate your work with Autohotkey (CH Archives)