infor.com
concierge
infor u
developer portal
Posts
Categories
Groups
Hubs
Developer
Healthcare
Hospitality
Public Sector
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
Your Groups
User Groups
Migrated Forums
FSM/HCM/S3 - Infor Lawson 10.x
HCM/S3 - Learning and Development
HCM/S3 - Global HR
HCM/S3 - Talent Acquisition
HR Service Delivery
Human Capital Management (HCM) - EMEA
Infor Configuration Management for Service Industries
Lawson - Business Intelligence
Lawson - Financials
Lawson - Human Resources
Lawson - Supply Chain
Lawson - Supply Chain Management
Lawson - Technology
MSCM on Landmark
About
Community News
Email Community Support
Home
Groups
FACTS - Partner Community
Renaming a file on a mapped drive via ProvideX 'rename'
salbritton
Does anyone know definitively if you can rename a file in ProvideX using a mapped drive via WindX session? For example:
rename "[wdx]Q:abc.txt" to "[wdx]Q:def.txt"
I've verified permissions on the source server/folder are Full Control, tried variations on this (rename "[wdx]\{server}{folder}abc.txt..., etc.) to no success.
Any insight/comments/experience with this is appreciated!
Brad Kraft
DSA
Find more posts tagged with
Comments
slonschek
In my testing rename does not honor the [wdx] prefix.
While running providex in a typical server client setup (nthost to server). The rename command did NOT work on a mapped drive local to my pc using the following command:
rename "[wdx]S:myfile","[wdx]S:myfile2"
While running providex locally on my machine the rename DID work to rename the file using the following command:
rename "S:myfile","S:myfile2"
This indicates to me that it is not the file system holding you up, it is providex not honoring the [wdx] prefix.
James
Sequoia Group
Legacy Contributor
Brad,
The reference manual doesn't suggest that [wdx] is supported in the file names. When I tried it, I got an error. I believe you must execute the rename via [wdx] like this:
execute "[wdx]rename ""Q:/abc.txt"" to ""Q:/def.txt""",err=error_trap
Ken Sproul
Pivotal Systems
slonschek
Suprisingly I did find a way around it. The execute command will honor the wdx prefix.
Use the following:
execute "[wdx]rename "+quo+"S:myfile"+quo+","+quo+"S:myfile2"+quo
Just saw Ken's post, he beat me to it.
salbritton
Ken & James,
Thanks!!! That's worked!!
Brad
FordUS_ship_req.pdf
Important Links
Community Hubs
Discussion Forums
Groups
Community News
Popular Tags
CPQ: Ask a Colleague
FAQs, How-To, and Best Practices
Idea
Infor OS Portal
UI Design
CPQ: Tips and Tricks
Infor Homepages
Widget Development
Infor EPM Migration
Infor Ming.le