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.

Renaming SC files

Featured Replies

Is there a good way to rename files? And did the behavior of SCMove() change recently.

A few months ago, I was testing using SCMove() to rename a file SCMove by using the same filepath for the old and new paths, but adding a filename parameter SCMove ( filepath ; filepath ; new.filename ). I thought I had it working ok. I let the project sit for a couple months and just came back to it and now it's not working.

I'm second guessing myself that I ever had it working in the first place. But it looks like SCMove() may have changed, now accepting key/value pairs rather than just a filename. I've tried it both the old way and with filename= and neither works.

My goal is to rename the file. Is there a better approach?

 

Related for my purposes...does SCMove() delete the old filepath's folders? Or are they still there in the filesystem?

 

Thanks!

Edited by David Jondreau

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.