Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

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.

Move Folder

Featured Replies

Hello,

I need to move a folder to another one to archive it.

In the sample file of SM is a Move Or Rename File ; the notes says

This renames and/or moves a source file or folder to a destination file or folder. This returns a 1 if it is successful and a 0 otherwise. This will fail if the destination parent folder does not exist, or if you try to move between two volumes.

and seems what I hope.

I try the following params under Windows :

originalPath = /c:/GestALSH/Factures_PDF/E2011_2012

moveToPath = /c:/GestALSH/Archives/

It returns me alway 0 and I dont'see where is my error !

Thanks for help

Noël

Edit :

a- the tries I did seem show that moving is not possible if there are subdirectories

b- it runs on the mac and not the pc

Noël,

If you want to move the folder "c:/GestALSH/Factures_PDF/E2011_2012" to the "Archives" directory of "c:/GestALSH/" then you have to set your destination path to "c:/GestALSH/Archives/E2011_2012"

REM: the destination directory must not exists prior to the move process. (first check if "c:/GestALSH/Archives/E2011_2012" exists, if yes, rename your destination directory or delete the existing one.)

  • Author

Thanks for your help !

As I edited it works fine on the Mac, but not on the PC (seven hosted //), even following your REM. Leaving for this afternoon....

Noël

  • Author

Hello Clemhoff

Once or twice you drived my Mac from yours ; every time you told that it was a famous boredom !

So I tried this afternoon on 2 PC and got the same bad result !

Fortunaly, I found on this forum what you called "the lazy way" when helping a very bad pupil named Noël : it's there ; I was to novice and didn't try it : it works fine ! Thanks one more time !

Noël

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

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.