Questions tagged [movefile]

30 questions
8
votes
2 answers

Move and rename file with double extension using MSBuild

In VS MSBuild we move group of files from one folder to another:
Alexan
  • 6,893
  • 13
  • 69
  • 89
1
vote
2 answers

Move and replace file in a loop problem showing is being used by another process problem

I'm creating every time a file moving and replacing it from source folder to a destination folder with the same name in a loop and this is the problem : For the first move and replace, it works well then it yells the process cannot access the file…
JavaNinja
  • 49
  • 7
1
vote
0 answers

MoveFile vs Antivirus (Trend Micro Security) : ACCESS_DENIED

I have a problem when copying an ".mdb" file (Microsoft Access) with the function "movefile". I use a C++ visual studio 2010 program. Code : strTxt1 = "g:\\temp\\toto.mdb"; strTxt2 = "g:\\temp\\tata.mdb"; if (!::MoveFile (strTxt1, strTxt2)) { …
Landstalker
  • 1,285
  • 5
  • 9
1
vote
1 answer

Move folder from team drive

how do you change the parent of a folder in a team drive. AddParents / RemoveParents generates an error "in a team drive a file has only one parent" and you can only read access to the parent collection. Should I make a copy of the file and delete…
1
vote
1 answer

Moving Files and Keeping Duplicates

I'm trying to move files and keep duplicate file names by appending (1) to one of the duplicate files. I'm using cd /D "source directory" move *.JPG "target directory" which doesn't solve the problem. Can someone please help? Thank you for the…
1
vote
3 answers

Move a file with Python

I want to move a file and I'm having the following bug: Traceback (most recent call last): File "G:\Programming\Hack\scripts\# cut file.py", line 4, in shutil.move(src, dst) File "C:\Program Files 1\Python2\lib\shutil.py", line 316, in…
1
vote
1 answer

wordmove Validating movefile section: production error This remote has not ssh nor ftp protocol defined

I'm newbie in wordmove. I've created movefile.yml in my local server but doctor command says: ▬▬ ✓ Validating movefile section: production ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ error | This remote has not ssh nor ftp protocol defined ▬▬ ✓ Validating…
Marco Allori
  • 2,874
  • 29
  • 24
0
votes
1 answer

Create folder based on filename

I have a question how to create a new folder based on part of the filename and also move directly the corresponding files to the new folder. Below you will find the structure of my directory with some examples. In both D0 and D1 folders you will…
0
votes
2 answers

Moving files to subdirectory in R based on file name

So I would like to copy files to a specific folder based on a certain part in their name. For your overview I put my folder structure below. In the folders D0 and D1 I have multiple files (as example I put names of two files here) and the folders…
0
votes
1 answer

Move files with specific name pattern to specific subfolders

So I would like to copy files to a specific folder based on a certain part in their name. For your overview I put my folder structure below. In the folders D1 and D2 I have multiple files (as example I put names of two files here) and the folders…
0
votes
2 answers

R move files with specific name pattern to folder in different subdirectories

I would like to copy files to a specific folder based on a certain part in their name. Below you will find my folder structure and where the files are. In both the D0 and D1 folders you will find files that are named like this structure:…
0
votes
0 answers

Script to move images from network folder to Dropbox

I'm having a hard time moving some images from a shared folder to Dropbox. The script is the following: With CreateObject("Scripting.FileSystemObject") .MoveFile "G:\Pastas Direções\Direção Digital\2020 - Contents Range\7 - Process\1 - Fluxo\1 -…
Caracks
  • 47
  • 1
  • 9
0
votes
1 answer

Copy files from one folder to another on Drive with Apps Script

Team members upload content (regardless of file type) into a folder on Drive. I need to copy this content into another folder automatically with a trigger, and be able to move it around from there. I cannot use a "MoveFile" function as I am not the…
Gary
  • 3
  • 1
0
votes
1 answer

Moving a file from one location to another in Python. Getting a dst error

I'm trying to move a file from one folder to another using Python. I've tried using shutil, os.replace, os.rename but I'm getting the same error each time of TypeError: move() missing 1 required positional argument: 'dst' enter image description…
Nene
  • 15
  • 3
0
votes
1 answer

Access to Snowflake Internal Stage for Non Owner Role

I am putting data into Internal Table Stage and then use Copy command to load into Actual Table. It is working fine with my ID since I am table owner ( my role). Now, I am trying to run this process with a different user who has read and write…
1
2