Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Please help @ rename a file with AutoIt

Featured Replies

Hi, i will download a file with wget.

I will rename the file in my autoit script. I can´t! Please help! :(

Download the newest file

bla32*.exe

Rename the file

bla32.*date*.exe to bla32.exe

Run the file

bla32.exe

AutoIt Code

RunWait(@ComSpec & " /c " & 'wget.exe -P %snapshotpath% ftp://ftp......../bla32*.exe', "",)
Run(@ComSpec & " /c" & '%snapshotpath%bla32.exe',"", @SW_HIDE)

DOS Code

wget.exe ftp://ftp......../bla32*.exe
ren bla32*.exe bla32.exe
start bla32.exe

:hello:

Edited by Cryptor

From the AutoIt HELP file:

Because AutoIt lacks a "FileRename" function, use FileMove to rename a file!
Wildcards are supported, looks like you are in luck. Something like...
FileMove( @ScriptDir & "\bla32*.exe", @ScriptDir & "\bla32.exe")
...run from the same directory containing the file should do the trick.

Good luck.

I'll say it after 5 days. Spot on :)

Nice help blinkdt.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.