Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Filter by
Sorted by
Tagged with
0 votes
0 answers
34 views

SSIS File System Task: Error: “The parameter is incorrect”

I have created a package that does few different tasks on bunch of csv files one by one in a foreach loop container and then a File System Task (as a last step in loop) moves the file to a ...
Atif.SQL's user avatar
1 vote
0 answers
88 views

When the MoveFile function fails in vb6, what error does it represent?

When using the MoveFile function in vb6, what error code does the function get if the function fails because the same file already exists in the path you want to navigate? I don't know if there is an ...
tory's user avatar
  • 51
0 votes
1 answer
51 views

Moving Files with Batch with XML Data

I have files that I need to move from an specific directory on schedule. The files need to move in a folder withing that directory that has all the information separated by the metadata. I have a ...
Dan's user avatar
  • 1
1 vote
0 answers
129 views

Cancel movefile operation

I tried to schedule a movefile (using the sysinternals tool movefile) operation to delete "C:\ProgramData\Microsoft\Windows Defender\Definition Updates\Backup" but I forgot the quotes and ...
Jacoblightning3's user avatar
1 vote
2 answers
699 views

How to handle file name with brackets in Windows CMD Batch for loop?

I want to write a script that move files which dropped on it to somewhere. So this is how my batch code goes: @echo off for %%i in (%*) do move "%%~i" "somewhere\%%~nxi" pause ...
yqZhang4480's user avatar
0 votes
0 answers
104 views

Move or Rename Files and Directories with mv

I've tried using: mv filename destination path Unfortunately, I am faced with an error message: mv filename destination_path mv: cannot stat 'filename': No such file or directory How to I get this ...
Noneofyourbizz's user avatar
0 votes
0 answers
106 views

Moving a file from temp folder to a very long path in vb.net

I'm having some issues on moving a file, that has been written using another software's API, to a path that is very long. The destination path is created using Dim path As String = "\\?\C:\...
Tobbe's user avatar
  • 11
0 votes
2 answers
3k views

Windows Command Prompt, how to move folder?

I have a question regarding windows command prompt. I tried to create a cmd file containing simple commands for the use of creating a folder named after the current date , have it create some files ...
JoeBanana's user avatar
0 votes
1 answer
102 views

How to move files in a other folder with base on a df list

I'm download 20.000 files .png and put in order to specific folder name. Each folder has 1 or 2 .png files. link of example: https://drive.google.com/drive/folders/1di8b1L1i1lc2ZKTAWyrNiZNpxMmGcQAH?...
Miguel Angel Acosta Chinchilla's user avatar
0 votes
3 answers
900 views

python script that would move zip folders to new directory based on their names

I am trying to write a script in python which could allow me to move zip files to a new folder based on their names, but I am struggling with it as I cannot figure out how to make python read the zip ...
Learner's user avatar
0 votes
1 answer
108 views

Move generated files whilst incrementally renaming them (in ascending order)

Pictures are generated in a directory, each with the same name. I would like to move them to another directory and rename them in an ascending order using a batch file, e.g. bild1.png -> 1.png, ...
nilros85's user avatar
1 vote
1 answer
2k views

How to transfer a csv file from notebook folder to a datastore

I want to transfer a generated csv file test_df.csv from my Azure ML notebook folder which has a path /Users/Ankit19.Gupta/test_df.csv to a datastore which has a web path https://abc.blob.core.windows....
ankit's user avatar
  • 357
0 votes
0 answers
135 views

How to move(directory to directory) images or audios above Android Q without using ManageExternalStorage?

if (!file.delete()) { Uri fileuri = getImageContentUri(Pager2Activity.this, file); if (fileuri != null) { DeleteXI.getInstance().with(Pager2Activity.this).delete(launcher, fileuri,...
Jivanlal Bhavsar's user avatar
-2 votes
1 answer
371 views

MoveFile function convert syntax / how to use MoveFile with variables to rename folders

This part of my programm tries to rename all folders and subfolders. All other functionality is in another code, here I'm just renaming a single folder by providing a path. Since rename doesnt seem to ...
Gisbert12843's user avatar
0 votes
1 answer
1k views

Move PDF File to Another File Folder Using VBA

I tried this code below (shout-out to source provider) and now I want to add a little extra code, however I can't get f.Move function to work. In other words, I want to move PDF files from one folder ...
FabioAuto's user avatar
0 votes
0 answers
101 views

WinAPI MoveFile used for renaming keeps Existing file

I am using MoveFile for WinAPI in my C code to rename a file. The file is renamed to the same parent directory in the same volume. But, intermittently I see MoveFile keeping the existing original file ...
Pratyush Rath's user avatar
0 votes
1 answer
224 views

How to move a file in python without knowing the path of the file you want to move? (Half way done)

I am searching for a file and its path in python, I get the result printed with the full path and file I am searching for. How do I set the print result as a variable so I can copy and move it to ...
IonutV's user avatar
  • 31
0 votes
1 answer
538 views

Script to Move Files in Alfresco

In Alfresco users can use rules to move files. How do I programmatically move a file from one folder to another? Do you have an example? I am using Alfresco 7.0 Share/Community version
Kim Stewart's user avatar
0 votes
1 answer
659 views

Transfer files between google-drive and one drive

I have more than 10TB of content in my google shared drive I want to copy all that content in my onedrive account. I tried mover.io but it's not working for me. What should I do. Also tried google ...
whitestorm's user avatar
0 votes
1 answer
2k views

MOVE FILE IN VBA

I want the code below to use 2 methods. the first method is copy file and the second method is move file. For method 1 I did a comment so that to do method 2 but it didn't work there was an error. Sub ...
roy's user avatar
  • 729
1 vote
1 answer
1k views

Matlab move multiple files in a directory

Using Matlab, I want to move the images present in the same directory in two new directories according to their name. In the directory there are two set of image' name: 'neg-0.pgm', 'neg-1.pgm', 'neg-...
user14287399's user avatar
0 votes
0 answers
80 views

How do I get Visual Basic to free up a PictureBox image?

I have a colored TIF image in a PictureBox. To convert it to grayscale I need to: (1) free the image from the pictureBox. (2) move the image from the working folder to a temp folder (3)use the ...
JerrMerr's user avatar
-1 votes
1 answer
1k views

VBScript: Move files to different folders depending on string in file name (For Each loop)

Original question: I am quite unskillful with VBScript but would need an efficient solution for saving me lots of time selecting and copying files manually: I have a folder with thousands raster files ...
ebcs's user avatar
  • 99
1 vote
1 answer
2k views

How to use ftp.rename() to move one directory to another in Python using ftplib?

I have a NAS which having below file structures: Say I have a movie directory "Terminator" which stores in below directory: /media_staging/Terminator From Destination: /media_staging/...
Woody's user avatar
  • 145
0 votes
1 answer
278 views

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 ...
raveleijn1952's user avatar
0 votes
2 answers
2k views

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 ...
raveleijn1952's user avatar
1 vote
1 answer
564 views

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 ...
Raveleijn1952's user avatar
1 vote
2 answers
2k views

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 ...
raveleijn1952's user avatar
0 votes
1 answer
4k views

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 ...
Gary's user avatar
  • 3
0 votes
1 answer
444 views

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 ...
Nene's user avatar
  • 15
1 vote
2 answers
229 views

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 ...
JavaNinja's user avatar
2 votes
1 answer
2k views

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 ...
PythonDeveloper's user avatar
0 votes
1 answer
102 views

Copying files and it's subfolders

I'm trying to copy to another directory but it's copying over there all the way (C: \ users ...), and I don't want that. I just want to copy the current folder and its subdirectories. I also want to ...
Tiago Alves's user avatar
0 votes
1 answer
120 views

Batch File to organise pictures from mobile phone into folders (on Windows)

I just created my first Batch file, to organise my mobile phone pictures into folders (on Windows). It worked, I am just wondering if there is a more efficient way in coding this, as in its current ...
Ben's user avatar
  • 13
-1 votes
1 answer
170 views

VBS move files from download [duplicate]

how to move a file from C:\Users\username\Downloads is there a variable for username so that if it is on someone else his computer that it also works and that you don't need to chance the code. ...
kajvans's user avatar
  • 85
0 votes
1 answer
354 views

How can I move a certain file extension into one folder with VB

I am new to VB and would like to create a software that moves a certain file extension into a single folder. I have already built the code that creates a folder on the desktop when clicking the button ...
Brenduan's user avatar
1 vote
0 answers
844 views

Is there is a way to use glob.glob method to move files?

I've created a mini project where python will : Pick and format xlsx files; Append new report to master file; and Move the xlsx file to the archive folder at the end. I have no problems with the first ...
Al19Rok92's user avatar
1 vote
0 answers
220 views

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\\...
Landstalker's user avatar
  • 1,368
0 votes
1 answer
3k views

How to use moveFile react-native-fs

i need share local image on react native app, use react-native share and react-native-fs. Image is in local folder in root app named 'images'. How to share this image. Do i need copy or move image to ...
Ismeet's user avatar
  • 449
-1 votes
1 answer
539 views

Move file from internal storage to Sd card

I want to move file from internal storage to sd card. I've tried with Environment.getExternalStorageDirectory() but it's moving internal storage only. I've used below code: ContextCompat....
Komal's user avatar
  • 89
1 vote
1 answer
65 views

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 ...
loustalet's user avatar
-3 votes
2 answers
1k views

How to Monitor a Folder for files and move said files to another folder while running in background?

I want a program that will constantly monitor a folder for files, when a file appears in said folder the program should wait for the file to be accessible and then move said file to another folder. ...
John Linaer's user avatar
0 votes
1 answer
236 views

VBS to Rename File via Send To Menu

Every day I have to rename files to replace spaces with dashes before I can send them to our machines (a few of our machines don't read spaces in file names but our file naming conventions have spaces,...
Rekd's user avatar
  • 1
2 votes
1 answer
2k views

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 ...
Kian Nikzad's user avatar
0 votes
1 answer
1k views

How to use bat script to check for the size of a file in the folder and move it

Appreciate anyone's help. I am quite stuck on this. I am writing a bat script to move files from one folder to anther folder. (this part is simple enough) However, before actually moving the file, I'...
Ed xTribal's user avatar
0 votes
1 answer
2k views

Releasing File Locks

I have a Background Worker run part of a program that loops through an array of files collated at runtime, doing various SQL tasks based on the file type etc. One by one, as the files are dealt with, ...
Optimaximal's user avatar
0 votes
2 answers
284 views

Copy file based a specified folder based on file name. Create folder if it doesn't exist

I'm trying to copy files to a specific folder based on a file name. For example: Current Folder - C:\Stuff\Old Files\ The File- 206.Little Rock.map.pdf Destination Folder - D:\Cleanup\206\...
Wood's user avatar
  • 1
0 votes
0 answers
221 views

GetFolder on server

I want to use FileSystemObject to get the name of a folder and rename a file with VBScript (MoveFile). So: Set oFSO = CreateObject("Scripting.FileSystemObject") folder = "collab\met\met0025\...
Patix80's user avatar
0 votes
0 answers
96 views

Python - os.rename(), moving a *.sqlite ddbb form one folder to another

I am having some troubles moving one *.sqlite ddbb that I've created from one folder to another. this is my attempt: Import os Import sqlite3 Import pandas as pd #There is some code here to get my ...
joan colon's user avatar
1 vote
3 answers
214 views

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 <module> shutil.move(src, dst) File "C:\...
Michael M1G0A4W's user avatar