Jump to content

Search the Community

Showing results for tags 'progress display in cmd window'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Hi All, I am new to AutoIT. Currently I am trying to write a program to copy a directory(Including sub directories recursively). The executable is from command line. Executable File compiled out of DirectCopy.au3 file name is DirectCopy.exe. Copy function is working excellent, based on the arguments provided in the command line followed by DirectCopy.exe. I am trying to get a progress bar/line in cmd window to show while DirectCopy.exe command is running. I have tried and browsed many posts to achieve printing progress line on the command line during folder copy.(not progress bar in GUI, this code is i saw in many ways) Please help/guide me!!!!!! Command Line is C:\>DirectCopy.exe /c c:\temp D:\temp_files Code is as follows: Local $temp=0 If UBound($CmdLine) > 1 Then if $CmdLine[1] = "/c" Then if UBound($CmdLine) > 3 Then if DirExist($CmdLine[2]) Then ConsoleWrite("Source Directory is Invalid" & @LF) ConsoleWrite("Tip: Folder name should not contain Space(s)" & @LF) Else if DirExist($CmdLine[3]) Then ConsoleWrite("Destination Directory is Invalid" & @LF) ConsoleWrite("Tip: Folder name should not contain Space(s)" & @LF) Else $temp=DirCopy($CmdLine[2],$CmdLine[3],1) If $temp = 0 Then ConsoleWriteError("Something went wrong... Error occurred while trying to copy..." & @LF) EndIf EndIf EndIf Else ConsoleWrite("Invalid/Insufficient no. of aruguments" & @LF) EndIf EndIf EndIf
×
×
  • Create New...