answersLogoWhite

0

use debug to fill the attribute byte with zeros.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

In the Confirm attribute changes box you cannot check apply changes to this folder?

If you cannot check "Apply changes to this folder" in the Confirm attribute changes box, it means the changes will only apply to the files within the folder, not the folder itself. To apply changes to the folder, you may need to modify the attributes of the folder separately using a different method or setting.


What is the default attribute for stacking files using the arrange options?

folder


What are folder attributes in windows 2000 professional?

Microsoft® Windows® 2000 Scripting GuideFile systems typically support the concept of attributes, information about a file or folder that goes beyond the folder name and size. For example, if you right-click a folder in Windows Explorer and then click Properties, you can access the attributes for that folder. Figure 4.2 shows a folder with the following attributes set:Read-onlyHiddenReady for archivingCompressedFigure 4.2 Folder Attributes in Windows ExplorerThe FileSystemObject can be used to return several important attributes of a folder. These attributes, and their FileSystemObject values, are listed in Table 4.4.Table 4.4 Folder Attributes Used by the FileSystemObjectConstantValueDescriptionHidden2Indicates that the folder is hidden, and not visible by default in My Computer or Windows Explorer.System4Indicates that the folder is a System folder. In general, it is a good idea not to modify the properties of a system folder.Directory16Standard value applied to all folders. All folders accessed by the FileSystemObject will have, at a minimum, the bit value 16.Archive32Archive bit used by backup programs to determine the files and folders that need to be backed up. Enabling the archive bit will ensure that the folder is backed up during the next incremental backup. Disabling the archive bit will prevent the folder from being backed up during the next incremental backup.Compressed2048Indicates whether Windows compression has been used on the folder.


Which permission would you need to assign to a user to allow him to see files and subfolders in the folder change folder attributes and delete the folder?

"Read and Execute"


What are various folder attributes?

read only hidden ready for archiving compressed


What are three ways to decrypt a file or folder?

Three ways decrypt a file or folder Change encryption attribute from Properties window Move file or folder to a FAT logical drive Use the Cipher command.


What is the minimum standard NTFS permission required for viewing the ownership and permissions and attributes of a file?

Full Control is needed to change attributes and or permissions of a NTFS folder.


What attributes combined to make a file or folder super hidden?

A. HiddenA. System


How can change hidden option folder attributes?

If you just want to display ONE hidden folder, right click on it and go to properties. and to display all hidden folders go to Tools/Folder Options/view.


What attributes can be configured in the properties dialog box of a folder on a FAT 32 volume?

Hidden archive and Read-only


What is a travel folder?

A travel folder (or trip file) helps you organize the details of an up coming trip. A travel folder contains everything the traveler may need on the trip.


Write a program in c to lock a folder?

#include<iostream>#include<fstream>#include<windows.h>usingnamespace std;void lockfolder();void unlockfolder();void setcolour(unsignedint colour);int main(){unsignedint choice=0;SetConsoleTitle("Folder Lock"); system("CLS"); setcolour(14); cout <<"\t\t\t\t"<<"- Evil Genious\n"; cout <<"\t\t\t\t"<<"-----------------\n"; setcolour(15); setcolour(30); cout <<"\n\n"<<"Options:\t\t\t\n"; cout <<"\t======================\n"; cout <<"\t1. - Lock Folder.\n"; cout <<"\t2. - Unlock Folder.\n"; cout <<"\t3. - Exit.\n"; cout <<"\t====================== \n"; setcolour(128); cout <<"\nEnter your choice: "; cin >> choice;switch(choice){case1: lockfolder();break;case2: unlockfolder();break;case3:exit(0);break;default: cout <<"\nError. Unknown Option Entered. Quitting ....\n";break;}return0;}void setcolour(unsignedint colour){ HANDLE handle =GetStdHandle(STD_OUTPUT_HANDLE);SetConsoleTextAttribute(handle, colour);}void lockfolder(){charpass[15]=""; ofstream lfolder;char folder[200]={0};char tempfolder[200]={'0'};char attributes[50]={'0'}; setcolour(13); cout <<"\nEnter the complete path to the Folder: "; cin >> folder; strcpy(tempfolder, folder); strcat(folder,"\\Desktop.ini"); lfolder.open(folder, ios::out); lfolder <<"[.shellClassInfo]"<< endl; lfolder <<"CLSID = {63E23168-BFF7-4E87-A246-EF024425E4EC}"<< endl; lfolder.close(); strcpy(attributes,"attrib +h +s "); strcat(attributes, tempfolder);WinExec(attributes, NULL); lfolder.open("C:\\windows\\db.dat", ios::app); lfolder <<"Folder Locked: "<< tempfolder << endl; lfolder.close(); cout <<"\n\n"<< tempfolder <<" has been locked successfully!\n";}void unlockfolder(){char folder[255];char tempfolder[255];char attributes[50];chardel[50]; ofstream lfolder; setcolour(14); cout <<"\nEnter the complete path to the Folder: "; cin >> folder; strcpy(tempfolder, folder); strcat(folder,"\\Desktop.ini"); strcpy(del,"del "); strcat(del, folder); system(del); strcpy(attributes,"attrib -h -s "); strcat(attributes, tempfolder);WinExec(attributes, NULL); lfolder.open("C:\\windows\\db.dat", ios::app); lfolder <<"! Folder Unlocked: "<< tempfolder << endl; lfolder.close(); cout <<"\n\n"<< tempfolder <<" has been unlocked successfully!\n";}