Welch Company
San Francisco, CA
S U M M A R Y
DIARY: December 13, 2010 07:17 AM Monday;
Rod Welch
Windows 7 Access Denied permissions c17 DOS Forum research solution.
1...Summary/Objective
..............
Click here to comment!
CONTACTS
SUBJECTS
DOSTips.com Forum Batch CMD Joined Request Support RD Command 00904.
2703 -
2703 - ..
2704 - Summary/Objective
2705 -
270501 - Follow up ref SDS 9 0000. ref SDS 7 0000.
270502 -
270503 -
270504 -
270505 -
270507 - ..
2706 -
2707 -
2708 - Progress
2709 -
270901 - Yesterday, found where code is hanging up on transferring files to the
270902 - Interent. 101212 1918, ref SDS 9 QN71
270904 - ..
270905 - This follows up a week of trying to solve the permissions problem,
270906 - reported initially on 101204 2004. ref SDS 6 NG7G
270908 - ..
270909 - This morning found DOS forum, and registered for assistance....
270910 -
270911 - http://www.dostips.com/forum/
270913 - ..
270914 - Received following letter confirming registration...
270915 -
270916 - 1. Subject: Welcome to "DosTips.com"
270917 - Date: Mon, 13 Dec 2010 13:33:55 -0500
270921 - ..
270922 - 2. Welcome to DosTips.com forums
270924 - ..
270925 - 3. Please keep this e-mail for your records. Your account
270926 - information is as follows:
270931 - ..
270932 - 4. Board URL..........
270933 -
270934 - http://www.dostips.com/forum
270936 - ..
270937 - DOS Batch Forum....
270938 -
270939 - http://www.dostips.com/forum/viewforum.php?f=3
270941 - ..
270942 - 5. Please visit the following link in order to activate your
270943 - account:
270944 -
270945 - http://www.dostips.com/forum/ucp.php?mode=activate&u=1856&k=VL8QYCLGTT
270947 - ..
270948 - 6. Your password has been securely stored in our database and
270949 - cannot be retrieved. In the event that it is forgotten, you
270950 - will be able to reset it using the email address associated
270951 - with your account.
270953 - ..
270954 - 7. Thank you for registering.
270955 -
270956 - 8. -- Happy posting!
270957 -
270958 -
270960 - ..
270961 - Submitted following explanation for support...
270962 -
270963 - 1. Subject: remove directory W7 batch getting Access denied
270964 - Date: 13 Dec 2010 1056
270965 -
270966 - 2. Have been using a simple batch file for years running XP
270967 - called from within a DOS app using start command, which
270968 - calls following code to ftp records to my website.
270969 - However, with new computer on w7 Ultimate, getting access
270970 - denied on rd command, and thing fails. Here is current
270971 - code...
270973 - ..
270974 - 3. @echo off
270975 - c:
270976 - cd\sd\10
270977 - if exist c:\sd\td\ftpc del c:\sd\td\ftpc
270978 - if exist c:\sd\wt goto gtfp
270979 - goto end
270980 - :gtfp
270981 - **** note*** sf.exe builds a list of files with path for
270982 - processing
270983 - c:\sd\01\sf c:\sd\wt\ *.* >c:\sd\td\ftpc
270984 - ***** e.exe **** editor formats the list for ftp op
270985 - based on macros in 00904
270986 - c:\sd\01\e c:\sd\td\ftpc c:\sd\03\00904
270987 - ***** ftp ***** list of stuff to welchco and build an
270988 - output log
270989 - ftp -n ftp.welchco.com <c:\sd\td\ftpc >c:\sd\td\ftpl
270990 - rd c:\sd\wt /s/q
270991 - exit
270992 - exit
270993 - 4. So everything works in XP, but W7 hangs on rd command with
270994 - "Access denied." [...despite having set permissions on all
270995 - partitions to "full control," reported on 101204 2004.
270996 - ref SDS 6 FK8N...]
270998 - ..
270999 - 5. This op is launched from within SDS, an app based on
271000 - e.exe. When the app is closed, then the rd command seems
271001 - to execute.
271003 - ..
271004 - 6. Any suggestions to get rd to run in w7 like xp. Is there
271005 - an environment variable that can be set to allow
271006 - processing to complete.
271007 -
271008 - [...below, received reply asking about setting
271009 - permissions. ref SDS 0 M39K
271010 -
271017 -
271018 -
271020 - ..
2711 -
2712 -
2713 - 1202
2714 -
271401 - Received initial response saying...
271402 -
271403 - 1. Subject: remove directory W7 batch getting Access denied
271404 - Date: 13 Dec 2010 1130
271406 - ..
271407 - 2. Have you checked the NTFS permissions for the folder and
271408 - verified that you can delete it without any UAC prompt?
271409 - ...[responding to the letter submitted earlier today,
271410 - shown above. ref SDS 0 AE3J...]
271411 -
271412 - [...below, submitted response explaining permissions
271413 - have been set, but not sure if this has been done
271414 - thoroughly. ref SDS 0 M35W
271415 -
271417 - ..
2715 -
2716 -
2717 - 1204
2718 -
271801 - Submitted reply saying...
271802 -
271803 - 1. Subject: remove directory W7 batch getting Access denied
271804 - Date: 13 Dec 2010 1209
271806 - ..
271807 - 2. Hi,
271809 - ..
271810 - 3. Spent a week working with W7 "permissions" to set global
271811 - policies that permit access to all files and directories.
271812 - Think they are set, but don't know for sure.
271814 - ..
271815 - 4. c:sd\wt is a temporary directory constructed only when
271816 - needed to hold path structure and files for transfer to the
271817 - web. When the batch op runs, the files and path structure
271818 - are uploaded, and then it is intended to delete the path
271819 - and files, for the next pass. I can delete the path and
271820 - files if I close SDS (where the op was launched), but that
271821 - defeats the purpose of interactive work. Hoping there is
271822 - an environment setting or something that enables w7 to run
271823 - like xp, so daily work is fast and smooth.
271825 - ..
271826 - 5. Thanks.
271827 -
271828 -
271830 - ..
2719 -
2720 -
2721 - 1438
2722 -
272201 - Received response from Dostips.com saying...
272202 -
272203 - 1. Subject: remove directory W7 batch getting Access denied
272204 - Date: 13 Dec 2010 1305
272206 - ..
272207 - 2. Not sure what SDC is but, it sounds like it is having
272208 - trouble letting go of the directories. So, its not really
272209 - a batch file issue but a compatibility issue with the
272210 - program and Windows 7. Have you gone to the properties of
272211 - the EXE and BAT files and told them to run in
272212 - Compatibility mode for Windows XP.
272214 - ..
2723 -
2724 -
2725 - 1537
2726 -
272601 - Submitted reply saying...
272602 -
272603 - 1. Subject: remove directory W7 batch getting Access denied
272604 - Date: 13 Dec 2010 1612
272606 - ..
272607 - 2. Thanks for the tip on setting compatibility mode.
272609 - ..
272610 - 3. SDS is a macro application for an editor e.exe 16-bit
272611 - assembler. For past 2 years we have been building a Java
272612 - version for new platforms. Probably have another year of
272613 - debugging before we can switch over, so need to run
272614 - existing e.exe on w7, as we have for xp.
272616 - ..
272617 - 4. Tried setting compatiblity to xp sp3; that failed. Tried
272618 - w95 and that failed.
272620 - ..
272621 - 5. e.exe through the macro process calls a memory session with
272622 - start command that launches e.exe again to apply html to a
272623 - text file for display in a browser, and then writes the
272624 - file to the disk with a command "savx" that creates a
272625 - directory structure. The code executes a quit command to
272626 - cycle out of start memory and back to the batch op, which
272627 - uploads all of the files to the web with directory
272628 - structure so that all of the links are effective.
272630 - ..
272631 - 6. This record illustrates the objective of the software.
272632 - Another example is the record on 041230 1400. ref SDS 2
272633 - 0000 Creating a web of records connecting chronology and
272634 - context strives to augment human intelligence, as explained
272635 - in NWO. ref OF 16 A56M
272636 -
272637 - [On 101215 1443 discussed with HP case manager, Tony,
272638 - toward getting assistance on w7 at HP. ref SDS 11 TF6O
272640 - ..
272641 - 7. Base directory on the local machine for temporary storage
272642 - pending ftp transfer is...
272643 -
272644 - c:\sd\wt
272646 - ..
272647 - 8. c:\sd always exists; wt is the root level of temporary
272648 - storage for this op, and so is created as needed, and then
272649 - deleted each pass to start clean.
272651 - ..
272652 - 9. Properties for wt says...
272653 -
272654 - Group or user names...
272655 - Creator owner
272656 - System
272657 - Administrators (c17\Administrators)............c17 is the name of the computer
272659 - ..
272660 - Permissions for Creator Owner
272661 - Full Control
272662 - Modify
272663 - Read & execute
272665 - ..
272666 - 10. All permissions, however, are blank. This seems to be the
272667 - problem. Set security in properties for c:\ to give
272668 - everyone "full control," however, c:\sd does not show this.
272669 - Manually made "everyone" have "full control" for c:\sd\
272671 - ..
272672 - 11. Ran the op to create...
272673 -
272674 - c:\sd\wt...
272676 - ..
272677 - 12. Properties shows everyone has "full control."
272679 - ..
272680 - 13. Deleting c:\sd\wt still fails with message... You need
272681 - permission from administrator to make these changes."
272682 -
272683 - [...below letter from Dostips.com asks about getting
272684 - this error. ref SDS 0 X64G
272686 - ..
272687 - 14. Randomly checking the directory structure, it shows every
272688 - level has the same security permissions - everyone full
272689 - control.
272690 -
272691 - [On 110105 0949 research on Internet found application
272692 - that might solve "access denied" problem by running SDS
272693 - with "System Privileges" to enable interactive dynamic
272694 - creating and deleting directories needed for FTP
272695 - transfers to Internet that provide anytime, anywhere
272696 - intelligence. ref SDS 12 YS3U
272698 - ..
272699 - 15. Could this be a W7 error?
272701 - ..
272702 - 16. Thanks
272704 - ..
272705 - 17. Rod
272706 -
272708 - ..
2728 -
2729 -
2730 - 2052
2731 -
273101 - Received response from Dostips.com saying...
273102 -
273104 - ..
273105 - 1. Subject: remove directory W7 batch getting Access denied
273106 - Date: 13 Dec 2010 2001
273108 - ..
273109 - 2. Do you get the error...
273110 -
273111 - Quote:
273112 - You need permission from administrator to make these
273113 - changes
273114 -
273115 - ...when you delete via explorer or command line (or both)?
273117 - ..
273118 - This is the error w7 reports, as set out in letter to Dostips.com, per
273119 - above. ref SDS 0 IQ6T
273120 -
273121 - [...below letter from Dostips.com confirms getting os
273122 - error message. ref SDS 0 KW4K
273124 - ..
273125 - Dostips.com letter continues...
273126 -
273127 - 3. Have tried turning UAC all the way off?
273128 -
273129 - [...below on 101213 1717 2139 letter asks Dostips.com
273130 - for clarification on UAC. ref SDS 0 U15X
273132 - ..
273133 - [On 101214 1508 received explanation that UAC is User
273134 - Account Control settings in Control Panal. ref SDS 10
273135 - Q65I
273136 -
273137 -
273139 - ..
2732 -
2733 -
2734 - 2139
2735 -
273501 - Submitted reply to Dostips.com saying...
273502 -
273503 - 1. Subject: remove directory W7 batch getting Access denied
273504 - Date: 13 Dec 2010 2145
273506 - ..
273507 - 2. That is the system error [...citing Dostips response, per
273508 - above, ref SDS 0 KW8H...], when deleting c:\sd\wt\
273509 - directory from explorer, or using rd from the command
273510 - prompt, until the SDS/DOS app is closed. [...and as stated
273511 - in the letter to Dostips.com, per above. ref SDS 0 IQ6T...]
273513 - ..
273514 - 3. Please clarify turning "UAC" off?
273515 -
273516 - [On 101214 1508 received explanation that UAC is User
273517 - Account Control settings in Control Panal. ref SDS 10
273518 - Q65I
273519 -
273526 -
273527 -
273528 -
273529 -
273530 -
273531 -
273532 -
273533 -
2736 -