mr-es335 Posted September 4, 2024 Posted September 4, 2024 (edited) Good day, I am curious to discover why a "Copy 1, Delete, Copy2" process functions differently when launched singly...one-after-the-other - or combined together in a single script? • This is particularly relevant when performing the "Copy 1, Delete, Copy2" process to the User Quick Launch. Say there are three scripts, 1) Copy1, 2) Delete, and 3) Copy2 Example 1: I copy two data files [L1 and E1] to QL...all of which I want in that order. • I then delete that data • I then copy three data files [P2, L1 and E1] to the QL..also...all of which I want in that order. • Status: Ok!. The data file are listed as P2, L1 and E1 Example 2: I then create a single script combining the three scripts, 1) Copy1, 2) Delete, and 3) Copy2. • Status: Not Ok!. The data file are listed as L1, E1 and P2?!? Any idea why this anomaly is occurring? UPDATE!!: In the combined script, if I place a Sleep(1000) command between Delete, and Copy2, the order is maintained...that is, P2, L1 and E1?!? • Copy1, Delete, Sleep(1500), Copy2. • Anything less than 1000 does not work!! Edited September 5, 2024 by mr-es335 mr-es335 Sentinel Music Studios
paw Posted September 5, 2024 Posted September 5, 2024 Since nobody answered, can you please provide code so we can understand what you're trying to do? What do you mean by order? Do you mean they are in a different order when sorting by date modified?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now