request: choose name when use copyas

Discuss and share scripts and script files...
Post Reply
yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

request: choose name when use copyas

Post by yusef88 »

Code: Select all

copyas "*.mp3", "%userprofile%\desktop";
is it possible to make pop out window to choose the name before copying

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: request: choose name when use copyas

Post by SkyFrontier »

Like this?

Code: Select all

   $nm = input("Which name to use for Copy As?", "Current file<crlf><curname><crlf>will be copied into target having the name you provide.<crlf 2>Target:<crlf>%userprofile%\desktop", "");
   copyas "$nm.?", "%userprofile%\desktop";
   wait 1500;
   status "Done: $nm";

Edit: better wording; status msg.
Last edited by SkyFrontier on 24 Mar 2014 18:33, edited 1 time in total.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: request: choose name when use copyas

Post by yusef88 »

Well done.. thanks :D

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: request: choose name when use copyas

Post by yusef88 »

Edit: better wording; status msg.
thanks for update

Post Reply